An error with a status and a detail text (used as it is). The named helpers below take a
tprint format instead: not_found("No user %", id).
- status: the HTTP status code.
- detail: text for the client, used as it is.
http_error :: (status: int, detail := "") -> Http_Error
An error with a status and a detail text (used as it is). The named helpers below take a
tprint format instead: not_found("No user %", id).
Parameters
- status: int
- the HTTP status code.
- detail := ""
- text for the client, used as it is.