Creates and handle a (error) condition
cran_error_handler(req, res, e)http_condition(status_code, message, ..., type = NULL, call = sys.call(-1))
`NULL` invisibly; called to modify the response.
A "request"- and "response"-object, respectively
The error/[condition][base::conditions] that was thrown by a handler, preferable a [http_condition].
Integer HTTP Status Code
Optional message to display (text).
Other things to include in exception.
Type of condition to generate. Must be one of `error`, `warning` or `message`.
The call stored in the condition object.