Expand description

Utilities surrounding ErrorPages and their management.

Structs

A representation of an error page, particularly for storage in transit so that server-side rendered error pages can be hydrated on the client-side.

A representation of the views configured in an app for responding to errors.

Type Definitions

The callback to a template the user must provide for error pages. This is passed the status code, the error message, the URL of the problematic asset, and a translator if one is available . Many error pages are generated when a translator is not available or couldn’t be instantiated, so you’ll need to rely on symbols or the like in these cases.