fn kind_to_code(kind: ErrorKind) -> RpcErrorKind
Expand description
Helper: Return an error code (for backward compat with json-rpc) for an ErrorKind.
These are not especially helpful and nobody should really use them.
fn kind_to_code(kind: ErrorKind) -> RpcErrorKind
Helper: Return an error code (for backward compat with json-rpc) for an ErrorKind.
These are not especially helpful and nobody should really use them.