PHP 클래스 Neos\Flow\Error\ErrorHandler

파일 보기 프로젝트 열기: neos/flow-development-collection 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$exceptionalErrors array

공개 메소드들

메소드 설명
__construct ( ) Constructs this error handler - registers itself as the default error handler.
handleError ( integer $errorLevel, string $errorMessage, string $errorFile, integer $errorLine ) : void Handles an error by converting it into an exception.
setExceptionalErrors ( array $exceptionalErrors ) : void Defines which error levels result should result in an exception thrown.

메소드 상세

__construct() 공개 메소드

Constructs this error handler - registers itself as the default error handler.
public __construct ( )

handleError() 공개 메소드

If error reporting is disabled, either in the php.ini or temporarily through the shut-up operator "@", no exception will be thrown.
public handleError ( integer $errorLevel, string $errorMessage, string $errorFile, integer $errorLine ) : void
$errorLevel integer The error level - one of the E_* constants
$errorMessage string The error message
$errorFile string Name of the file the error occurred in
$errorLine integer Line number where the error occurred
리턴 void

setExceptionalErrors() 공개 메소드

Defines which error levels result should result in an exception thrown.
public setExceptionalErrors ( array $exceptionalErrors ) : void
$exceptionalErrors array An array of E_* error levels
리턴 void

프로퍼티 상세

$exceptionalErrors 보호되어 있는 프로퍼티

protected array $exceptionalErrors
리턴 array