Module err

Source
Expand description

Error-related functionality for RPC functions.

Structs§

RpcError
An error type returned by failing RPC methods.

Enums§

AnyErrorKind 🔒
An ErrorKind as held by an RpcError
RpcErrorKind
Error kinds for RPC errors.

Functions§

kind_to_code 🔒
Helper: Return an error code (for backward compat with json-rpc) for an ErrorKind.
ser_code 🔒
Helper: Serialize an RpcErrorKind as a numeric code.
ser_kind 🔒
Helper: Serialize an AnyErrorKind in RpcError.

Type Aliases§

ErrorDatum 🔒
Alias for a type-erased value used in an error’s data field