ErrorPageRenderer typedef
ErrorPageRenderer =
String Function(int status, Object error, StackTrace stackTrace, bool debug)
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.
Implementation
typedef ErrorPageRenderer = String Function(
int status,
Object error,
StackTrace stackTrace,
bool debug,
);