pub fn internal_error_response() -> Response<Full<Bytes>>Expand description
A generic 500 response for failures that have no more specific status.
ยงExamples
use guardrail_proxy::error::internal_error_response;
use hyper::StatusCode;
let resp = internal_error_response();
assert_eq!(resp.status(), StatusCode::INTERNAL_SERVER_ERROR);