Constructor
(abstract) new Error(options)
Parameters:
| Name | Type | Description | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
options |
object | see below the available values.
Properties
|
- 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