# Functions

Error writes the error to the response writer.
JSON encodes the provided message as JSON.
NewContextWithErrorValue returns a context derived from parent and a func that returns any error stored by the Error handler.
NewErrorTemplate instantiates a new error template for non-frontend handled routes.
NotFound is the handler for routes that could not be found.
ProcessError processes an HTTP error by converting it if appropriate, and determining the HTTP status code to return.
RetrieveError retrieves the error from the context.
WithErrorHandlers registers additional error handlers to be used while rendering errors.

# Variables

Template for rendering the static error.

# Structs

Data contains data to render templates.
ErrorTemplate wraps the error template for the static error route.