Constructor
new MoneroRpcError(rpcDescription, rpcCode, rpcMethod, rpcParams)
Constructs the error.
Parameters:
Name | Type | Description |
---|---|---|
rpcDescription |
string | is a description of the error from rpc |
rpcCode |
int | is the error code from rpc |
rpcMethod |
string | is the rpc method invoked |
rpcParams |
object | are parameters sent with the rpc request |