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
Afficher le fichier Open project: pradosoft/prado

Méthodes protégées

Méthode Description
displayException ( $exception ) Displays the exceptions to the client-side TJavascriptLogger.

Private Methods

Méthode Description
getExceptionStackTrace ( $exception ) : array

Method Details

displayException() protected méthode

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