api › errors › MapNotFoundError
The Error 404 of Map I/O. Shouldn't usually, but can occur in [[controllers/api.getDefaultMap|controllers/api.getDefaultMap
]].
Will more regularly be thrown by lib/io.readRawMap
- in case the specified map isn't found.
-
↳ MapNotFoundError
+ new MapNotFoundError(msg
: string): MapNotFoundError
Defined in src/errors/MapNotFoundError.ts:10
Creates a new MapNotFoundError - normally with the default error message.
Parameters:
Name | Type | Default | Description |
---|---|---|---|
msg |
string | "Map couldn't be found!" | The error message. |
Returns: MapNotFoundError
• 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