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.
pub fn error_response(
err: &ErrorResult,
ctx: Arc<CorrelationContext>,
) -> Response<String>Renders an ErrorResult as an http::Response<String> with an "error" envelope.