Function iota_json_rpc_api::error_object_from_rpc
source ยท pub fn error_object_from_rpc(rpc_err: ClientError) -> ErrorObjectOwned
Expand description
Convert a jsonrpsee client error into a generic error object.
pub fn error_object_from_rpc(rpc_err: ClientError) -> ErrorObjectOwned
Convert a jsonrpsee client error into a generic error object.