PHP Class Ouzo\ExceptionHandling\ExceptionHandler

Datei anzeigen Open project: letsdrink/ouzo Class Usage Examples

Public Properties

Property Type Description
$errorRenderer

Public Methods

Method Description
handleException ( $exception )
handleExceptionData ( OuzoExceptionData $exceptionData )
lastErrorHandled ( )

Protected Methods

Method Description
handleError ( $exception )
renderError ( OuzoExceptionData $exceptionData, $viewName = 'exception' )
runDefaultHandler ( $exception )
runOuzoExceptionHandler ( $exception )

Private Methods

Method Description
renderNotFoundError ( $exception )
renderUserError ( $exception )

Method Details

handleError() protected method

protected handleError ( $exception )

handleException() public method

public handleException ( $exception )

handleExceptionData() public method

public handleExceptionData ( OuzoExceptionData $exceptionData )
$exceptionData OuzoExceptionData

lastErrorHandled() public static method

public static lastErrorHandled ( )

renderError() protected method

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

runDefaultHandler() protected method

protected runDefaultHandler ( $exception )

runOuzoExceptionHandler() protected method

protected runOuzoExceptionHandler ( $exception )

Property Details

$errorRenderer public_oe static_oe property

public static $errorRenderer