Constructor
new MoneroError(message, code)
Constructs the error.
Parameters:
Name | Type | Description |
---|---|---|
message |
string | is a human-readable message of the error |
code |
int | is the error code (optional) |
- Source:
Methods
getCode()
- Source:
toString()
- Source: