Class: Error
Extends
BaseClient
Constructors
new Error()
new Error(
ctx
?,_id
?,_message
?):Error
Constructor is used for internal usage only, do not create object from it.
Parameters
ctx?
Context
_id?
_message?
string
Returns
Overrides
BaseClient.constructor
Methods
id()
id():
Promise
<ErrorID
>
A unique identifier for this Error.
Returns
Promise
<ErrorID
>
message()
message():
Promise
<string
>
A description of the error.
Returns
Promise
<string
>