Function into_hyper_response

Source
pub fn into_hyper_response<T: Into<HttpApiProblem>>(what: T) -> Response<String>
Expand description

Creates an hyper::Response from something that can become an HttpApiProblem.

If status is None 500 - Internal Server Error is the default.