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

Latest commit

 

History

History
82 lines (45 loc) · 2.14 KB

errors.invalidmapformaterror.md

File metadata and controls

82 lines (45 loc) · 2.14 KB

apierrorsInvalidMapFormatError

Class: InvalidMapFormatError

Will be thrown if a map in JSON format is lacking attributes or has attributes with unexpected types/values. It will also be thrown, if a map's node is malformatted in KPMap.parse.

Hierarchy

  • Error

    InvalidMapFormatError

Index

Constructors

Properties

Constructors

constructor

+ new InvalidMapFormatError(msg: string): InvalidMapFormatError

Defined in src/errors/InvalidMapFormatError.ts:11

Creates a new InvalidMapFormatError - usually with the default error message.

Parameters:

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

Returns: InvalidMapFormatError

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