exception/error_page
library
Functions
-
defaultErrorPage(int status, Object error, StackTrace stackTrace, bool debug)
→ String
-
The default error page: a small HTML page with the status and its
title, like
404 Not Found. With debug, it also shows the error
text and the stack trace. It loads no files from outside.
Typedefs
-
Makes the HTML of the error page, see
AppConfig.htmlErrors.
status is the HTTP status. debug is true when APP_ENV is
development or local: then the page may show the error text and
the stackTrace. Escape every value you put in the page.