Skip to main content

status_to_response

Function status_to_response 

Source
pub fn status_to_response(status: Status) -> Response
Expand description

Convert a tonic::Status into an axum HTTP response with JSON error body.