Class: Error

(abstract) bemap.Error(options)

Base class for bemap error.

Constructor

(abstract) new Error(options)

Parameters:
Name Type Description
options object see below the available values.
Properties
Name Type Description
code String the error code.
message Int the error message.
Source:

Members

(protected) code :String

Type:
  • String
Source:

(protected) message :String

Type:
  • String
Source:

Methods

getCode() → {String}

Get the code of the error.
Source:
Returns:
code
Type
String

getMessage() → {String}

Get the message of the error.
Source:
Returns:
message
Type
String