PHP 클래스 Ouzo\ExceptionHandling\ExceptionHandler

파일 보기 프로젝트 열기: letsdrink/ouzo 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$errorRenderer

공개 메소드들

메소드 설명
handleException ( $exception )
handleExceptionData ( OuzoExceptionData $exceptionData )
lastErrorHandled ( )

보호된 메소드들

메소드 설명
handleError ( $exception )
renderError ( OuzoExceptionData $exceptionData, $viewName = 'exception' )
runDefaultHandler ( $exception )
runOuzoExceptionHandler ( $exception )

비공개 메소드들

메소드 설명
renderNotFoundError ( $exception )
renderUserError ( $exception )

메소드 상세

handleError() 보호된 메소드

protected handleError ( $exception )

handleException() 공개 메소드

public handleException ( $exception )

handleExceptionData() 공개 메소드

public handleExceptionData ( OuzoExceptionData $exceptionData )
$exceptionData OuzoExceptionData

lastErrorHandled() 공개 정적인 메소드

public static lastErrorHandled ( )

renderError() 보호된 메소드

protected renderError ( OuzoExceptionData $exceptionData, $viewName = 'exception' )
$exceptionData OuzoExceptionData

runDefaultHandler() 보호된 메소드

protected runDefaultHandler ( $exception )

runOuzoExceptionHandler() 보호된 메소드

protected runOuzoExceptionHandler ( $exception )

프로퍼티 상세

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

public static $errorRenderer