PHP Class Prado\Web\UI\ActiveControls\TCallbackErrorHandler

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.
Since: 3.1
Inheritance: extends Prado\Exceptions\TErrorHandler
Datei anzeigen Open project: pradosoft/prado

Protected Methods

Method Description
displayException ( $exception ) Displays the exceptions to the client-side TJavascriptLogger.

Private Methods

Method Description
getExceptionStackTrace ( $exception ) : array

Method Details

displayException() protected method

A HTTP 500 status code is sent and the stack trace is sent as JSON encoded.
protected displayException ( $exception )