Function http_api_problem::into_tide_response[][src]

pub fn into_tide_response<T: Into<HttpApiProblem>>(what: T) -> Response

Creates a tide::Response from something that can become an HttpApiProblem.

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