Members
code
Returns the machine-readable code of the error.
- Source:
message
Returns the human-readable message of the error.
- Source:
Methods
(static) internal(message) → {APIError}
Constructs a new Error which originated within the wrapper.
Parameters:
| Name | Type | Description |
|---|---|---|
message |
string | The internal error message. |
- Source:
Returns:
The newly-constructed error.
- Type
- APIError