eth-json-rpc-errors
Advanced tools
Changelog
[2.0.0] - 2019-09-26
errors
renamed ethErrors
JsonRpcError
renamed EthereumRpcError
EthJsonRpcError
renamed EthereumProviderError
EthereumRpcError
ethErrors
ethErrors.rpc
errors.jsonRpc
ethErrors.provider
errors.eth
opts
argument, which
is either a string or an object
{ message?: string, data?: any }
ethErrors.rpc.server
must receive a single object of the form:
ethErrors.provider.custom
must receive a single of the form:
Changelog
[1.1.0] - 2019-09-16
serializeError
.message
property, it will preferred over the .message
property of the fallback error when creating the returned serialized error object