Http module

problem_response

procedure · 1 overloadSource

The default format, RFC 9457: application/problem+json with type, title, status, detail, instance (the request path) and, for bad input, location and field.

problem_response :: (request: *Request, error: Http_Error) -> Response

The default format, RFC 9457: application/problem+json with type, title, status, detail, instance (the request path) and, for bad input, location and field.

Parameters

request: *Request
error: Http_Error

Returns

See also