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.11 KB

errors.mapnotfounderror.md

File metadata and controls

81 lines (44 loc) · 2.11 KB

apierrorsMapNotFoundError

Class: 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.

Hierarchy

  • Error

    MapNotFoundError

Index

Constructors

Properties

Constructors

constructor

+ 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

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