Settings
Help

kind_to_code

Function kind_to_code 

Source
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.