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
파일 보기 프로젝트 열기: pradosoft/prado

보호된 메소드들

메소드 설명
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 )