Skip to main content

rpc_error_to_client

Function rpc_error_to_client 

Source
pub fn rpc_error_to_client(body: RpcErrorBody) -> ClientError
Expand description

An err frame as a ClientError::Remote, with the HTTP status its code stands for, so it reads like a refusal of a unary call.