void handleError(
string
$code, [string|Exception
$e = ''])
|
|
Dispatches the error handling to a page.
The error page will be executed and the rendering result be displayed. If the error is not handled by a page, the method will display the error directly based on the application state (debug or not). This method always terminates the execution of the current application.
Parameters: