Expand description
Additional helpers for converting errors.
Traits§
- Helper trait to easily convert various
Result
types into [RpcResult
]
Functions§
- Formats a [
BlockId
] into an error message. - Constructs an internal JSON-RPC error.
- Constructs an internal JSON-RPC error with data
- Constructs an invalid params JSON-RPC error.
- Constructs a JSON-RPC error, consisting of
code
,message
and optionaldata
. - Constructs an internal JSON-RPC error with code and message