Skip to main content

rpc_error_to_status

Function rpc_error_to_status 

Source
fn rpc_error_to_status(error: ErrorObjectOwned) -> Status
Expand description

Converts a JSON-RPC method error into a gRPC status, for a lookup of something the client asked for by identifier.