Std.App.Problem.uniform
1 declaration
fn
uniform: Std.Http.Server.Route.Request -> fn(Std.Http.Server.Route.Request) -> Std.Http.Response -> Std.Http.ResponseA step that turns every 4xx or 5xx response not already a problem into one, keeping its status and using its body as detail and the request path as instance. A 5xx body is dropped and only the reason phrase remains, so an internal message never reaches a client.
