pub fn grpc_status_to_http(status: i32, message: &str) -> (u16, Value)Expand description
Map a gRPC status code to an HTTP status code and a google.rpc.Status
JSON body. The JSON body follows the google.rpc.Status shape:
{ "code": <int>, "message": "<string>", "details": [] }.