class ErrorPageController extends PageController (View source)

Class ErrorPageController

Methods

handleRequest(HTTPRequest $request)

Overload the provided see Controller::handleRequest() to append the correct status code post request since otherwise permission related error pages such as 401 and 403 pages won't be rendered due to

Details

HTTPResponse handleRequest(HTTPRequest $request)

Overload the provided see Controller::handleRequest() to append the correct status code post request since otherwise permission related error pages such as 401 and 403 pages won't be rendered due to

Parameters

HTTPRequest $request

Return Value

HTTPResponse

See also

HTTPResponse::isFinished ignoring the response body.