Function error_response

Source
pub fn error_response(error: ErrorObject<'_>) -> HttpResponse
Expand description

Create a json response for general errors returned by the called method.