PHP 클래스 Bolt\Exception\LowlevelException

상속: extends Exception
파일 보기 프로젝트 열기: bolt/bolt 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$html
$info
$screen

공개 메소드들

메소드 설명
__construct ( string $message, integer $code = null, Exception $previous = null ) Print a 'low level' error page, and quit. The user has to fix something.
catchFatalErrors ( Silex\Application $app, boolean $flush = true ) Callback for register_shutdown_function() to handle fatal errors.
catchFatalErrorsEarly ( ) Catch and display errors that occur before the Application object has been instantiated.
nullHandler ( Exception $e ) Ignore exception handler pointed at by set_exception_handler().

비공개 메소드들

메소드 설명
cleanHTML ( string $output ) : string Remove HTML elements from the error output.

메소드 상세

__construct() 공개 메소드

Security caveat: the message is inserted into the page unescaped, so make sure that it contains valid HTML with proper encoding applied.
public __construct ( string $message, integer $code = null, Exception $previous = null )
$message string
$code integer
$previous Exception

catchFatalErrors() 공개 정적인 메소드

Callback for register_shutdown_function() to handle fatal errors.
public static catchFatalErrors ( Silex\Application $app, boolean $flush = true )
$app Silex\Application
$flush boolean

catchFatalErrorsEarly() 공개 정적인 메소드

If the error occurs later in the application life cycle, we flush this output in catchFatalErrors() which has access to the Application object.
public static catchFatalErrorsEarly ( )

nullHandler() 공개 정적인 메소드

Ignore exception handler pointed at by set_exception_handler().
public static nullHandler ( Exception $e )
$e Exception

프로퍼티 상세

$html 공개적으로 정적으로 프로퍼티

public static $html

$info 공개적으로 정적으로 프로퍼티

public static $info

$screen 공개적으로 정적으로 프로퍼티

public static $screen