Skip to main content

error_response

Function error_response 

Source
pub fn error_response(error: &VldHttpError) -> Response<Body>
Expand description

The JSON error response for error: its status (422 / 415 / 413) and body. For a plain VldError use error_response(&err.into()) (422).