Skip to main content

error_response

Function error_response 

Source
pub fn error_response(
    err: &ErrorResult,
    ctx: Arc<CorrelationContext>,
) -> Response<String>
Expand description

Renders an ErrorResult as an http::Response<String> with an "error" envelope.