api › errors › InvalidNodeFormatError
Will be thrown if a Node's (KPNode
, KPStairsNode
, KPEndNode
) JSON
representation is malformatted.
-
↳ InvalidNodeFormatError
+ 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
• message: string
Inherited from DuplicateSessionError.message
Defined in node_modules/typescript/lib/lib.es5.d.ts:974
• name: string
Inherited from DuplicateSessionError.name
Defined in node_modules/typescript/lib/lib.es5.d.ts:973
• stack? : string
Inherited from DuplicateSessionError.stack
Defined in node_modules/typescript/lib/lib.es5.d.ts:975
▪ Error: ErrorConstructor
Defined in node_modules/typescript/lib/lib.es5.d.ts:984