PHP Класс 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.
С версии: 3.1
Наследование: extends Prado\Exceptions\TErrorHandler
Показать файл Открыть проект

Защищенные методы

Метод Описание
displayException ( $exception ) Displays the exceptions to the client-side TJavascriptLogger.

Приватные методы

Метод Описание
getExceptionStackTrace ( $exception ) : array

Описание методов

displayException() защищенный Метод

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