Class \Prado\Web\UI\ActiveControls\TCallbackErrorHandler
TCallbackErrorHandler class.
Captures errors and exceptions and send them back during callback response. When the application is in debug mode, the error and exception stack trace are shown. A TJavascriptLogger must be present on the client-side to view the error stack trace.
Class hierarchy
- \Prado\Web\UI\ActiveControls\TCallbackErrorHandler
- \Prado\Exceptions\TErrorHandler
- \Prado\TModule implements IModule
- \Prado\TApplicationComponent
- \Prado\TComponent
Since: 3.1
protected
|
displayException(Exception $exception) : mixed
Displays the exceptions to the client-side TJavascriptLogger.
A HTTP 500 status code is sent and the stack trace is sent as JSON encoded. |
private
|