Controller that is called whenever a technical error occurs while processing a request. A standard error page is rendered.
Members
(static) Forbidden
Called by the system when a session hijacking is detected.
- Source:
- See:
(static) Start
Called by the system when an error is not handled locally.
- Source:
- See:
Methods
(inner) forbidden()
Called by the system when a session hijacking is detected. Renders an error page (error/forbidden template.)
(inner) start(args)
Called by the system when an error is not handled locally. Renders a general error page. Determines if it is an AJAX request by looking at X-Requested-With=XMLHttpRequest request header. This header is set by jQuery for every AJAX request. If the requested response format is not set to json then the decorator is empty. If it is set to json, a JSON response is sent.
Parameters:
Name | Type | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
args |
Object |
The argument object Properties
|