Skip to content
This repository has been archived by the owner on Aug 6, 2020. It is now read-only.

Latest commit

 

History

History
81 lines (44 loc) · 2.12 KB

errors.invalidnodeformaterror.md

File metadata and controls

81 lines (44 loc) · 2.12 KB

apierrorsInvalidNodeFormatError

Class: InvalidNodeFormatError

Will be thrown if a Node's (KPNode, KPStairsNode, KPEndNode) JSON representation is malformatted.

Hierarchy

  • Error

    InvalidNodeFormatError

Index

Constructors

Properties

Constructors

constructor

+ new InvalidNodeFormatError(msg: string): InvalidNodeFormatError

Defined in src/errors/InvalidNodeFormatError.ts:10

Creates a new InvalidNodeFormatError with the given/default error message.

Parameters:

Name Type Default Description
msg string "Invalid node format!" The error message.

Returns: InvalidNodeFormatError

Properties

message

message: string

Inherited from DuplicateSessionError.message

Defined in node_modules/typescript/lib/lib.es5.d.ts:974


name

name: string

Inherited from DuplicateSessionError.name

Defined in node_modules/typescript/lib/lib.es5.d.ts:973


Optional stack

stack? : string

Inherited from DuplicateSessionError.stack

Defined in node_modules/typescript/lib/lib.es5.d.ts:975


Static Error

Error: ErrorConstructor

Defined in node_modules/typescript/lib/lib.es5.d.ts:984