ErrorHandler Class Reference
Detailed Description
ErrorHandler catches all php errors and transforms fatal errors into ErrorExceptions and non-fatal into log messages.
Definition at line 19 of file ErrorHandler.php.
Public Member Functions | |
__construct () | |
handleError ($errno, $errstr, $errfile, $errline) | |
Static Public Member Functions | |
static | getStackTrace () |
Constructor & Destructor Documentation
__construct | ( | ) |
Constructor.
Definition at line 28 of file ErrorHandler.php.
Member Function Documentation
|
static |
Get the stack trace.
- Returns
- The stack trace as string
Definition at line 39 of file ErrorHandler.php.
handleError | ( | $errno, | |
$errstr, | |||
$errfile, | |||
$errline | |||
) |
Actual error handling method.
- Parameters
-
$errno $errstr $errfile $errline
- Returns
- Boolean
- Exceptions
-
ErrorException
Definition at line 60 of file ErrorHandler.php.