ErrorController
Summary
Defines a controller to handle errors.
Constructor
ErrorController
Syntax
ErrorController
()
Summary
Item Index
Methods
errorAction
Syntax
errorAction
(
-
error
-
request
-
response
-
next
Summary
Handles all errors.
notFoundAction
Syntax
notFoundAction
(
-
request
-
response
-
next
Summary
Handles requests which does not correspond to anything.
notFoundPageAction
Syntax
notFoundPageAction
(
-
request
-
response
Summary
Handles forgotten requests.
Depending on request Accept HTTP header, either an HTML content, a JSON content or a text content will be returned with a 404 code.