PHP Class Ouzo\ExceptionHandling\ExceptionHandler

Afficher le fichier Open project: letsdrink/ouzo Class Usage Examples

Méthodes publiques

Свойство Type Description
$errorRenderer

Méthodes publiques

Méthode Description
handleException ( $exception )
handleExceptionData ( OuzoExceptionData $exceptionData )
lastErrorHandled ( )

Méthodes protégées

Méthode Description
handleError ( $exception )
renderError ( OuzoExceptionData $exceptionData, $viewName = 'exception' )
runDefaultHandler ( $exception )
runOuzoExceptionHandler ( $exception )

Private Methods

Méthode Description
renderNotFoundError ( $exception )
renderUserError ( $exception )

Method Details

handleError() protected méthode

protected handleError ( $exception )

handleException() public méthode

public handleException ( $exception )

handleExceptionData() public méthode

public handleExceptionData ( OuzoExceptionData $exceptionData )
$exceptionData OuzoExceptionData

lastErrorHandled() public static méthode

public static lastErrorHandled ( )

renderError() protected méthode

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

runDefaultHandler() protected méthode

protected runDefaultHandler ( $exception )

runOuzoExceptionHandler() protected méthode

protected runOuzoExceptionHandler ( $exception )

Property Details

$errorRenderer public_oe static_oe property

public static $errorRenderer