PHP Class Ergo\Error\AbstractErrorHandler

Inheritance: implements Ergo\Error\ErrorHandler
Show file Open project: 99designs/ergo

Public Methods

Method Description
__construct ( $logger = null ) Constructor
logException ( $exception )
logPhpError ( $errno, $errstr, $errfile, $errline )
logger ( ) * (non-phpdoc)

Protected Methods

Method Description
isExceptionHalting ( $e ) : boolean Determines whether the exception should halt execution
isExceptionRecoverable ( $e ) : boolean Determines whether an exception is recoverable

Method Details

__construct() public method

Constructor
public __construct ( $logger = null )

isExceptionHalting() protected method

Determines whether the exception should halt execution
protected isExceptionHalting ( $e ) : boolean
return boolean

isExceptionRecoverable() protected method

Determines whether an exception is recoverable
protected isExceptionRecoverable ( $e ) : boolean
return boolean

logException() public method

public logException ( $exception )

logPhpError() public method

public logPhpError ( $errno, $errstr, $errfile, $errline )

logger() public method

* (non-phpdoc)
See also: Ergo\Error\ErrorHandler::logger()
public logger ( )