http/http_error_handler library

Functions

errorRendererReady(HttpRequest req) → bool
true when req already has its request kept for the renderer
httpErrorHandler(HttpRequest req, Object error, StackTrace stackTrace) → void
Every error of a request comes here. The ExceptionHandler of AppConfig reports it and decides the response.
keepForErrorRenderer(HttpRequest req, DoxRequest doxReq) → void
keep doxReq so an error of req goes to the renderer of its route. Only for a route that has one.
renderError(HttpRequest req, Object error, StackTrace stackTrace) → dynamic
Report error and give the response for it, from the ExceptionHandler of AppConfig. It is not sent yet.