Renders an error as a JSON response In debug mode, includes full stack trace using Youch
HTTP error to render
HTTP context for the request
Renders an error as a JSON API compliant response Follows JSON API specification for error objects
HTTP error to render
HTTP context for the request
Renders an error as an HTML response Uses status pages if configured, otherwise shows debug info or simple message
HTTP error to render
HTTP context for the request
Renders validation error messages as a JSON response Returns errors in a simple format with field-specific messages
Validation error containing messages array
HTTP context for the request
Renders validation error messages as JSON API compliant response Transforms validation messages to JSON API error object format
Validation error containing messages array
HTTP context for the request
Renders validation error messages as an HTML response Creates simple HTML list of field errors separated by line breaks
Validation error containing messages array
HTTP context for the request
Renders an error to the appropriate response format based on content negotiation Supports HTML, JSON API, and JSON formats based on Accept headers
HTTP error to render
HTTP context for the request
Renders validation errors to the appropriate response format based on content negotiation Supports HTML, JSON API, and JSON formats for validation error messages
Validation error to render
HTTP context for the request
Reports an error to logging systems if reporting is enabled Allows errors to self-report via their own report method if available
Any error object to report
HTTP context for additional reporting context
Handles errors during HTTP request processing Delegates to error's own handle method if available, otherwise renders response
Any error object to handle
HTTP context for error handling
The base HTTP exception handler one can inherit from to handle HTTP exceptions.
The HTTP exception handler has support for