Class Horde_ErrorHandler
Horde_ErrorHandler: simple error_handler implementation for handling PHP errors, generating backtraces for them, etc.
public static
|
|
public
|
|
public static
|
#
handleError( integer $errno, string $errstr, string $errfile, integer $errline )
Process and handle/store an error. |
public static
|
#
handleErrorWithContext( integer $errno, string $errstr, string $errfile, integer $errline, TODO $errcontext )
Include the context of the error in the debug information. Takes more (and could be much more) memory. |
public static
|
public static
array
|
$errorTypes
Mapping of error codes to error code names. |
#
array(
1 => 'ERROR',
2 => 'WARNING',
4 => 'PARSE',
8 => 'NOTICE',
16 => 'CORE_ERROR',
32 => 'CORE_WARNING',
64 => 'COMPILE_ERROR',
128 => 'COMPILE_WARNING',
256 => 'USER_ERROR',
512 => 'USER_WARNING',
1024 => 'USER_NOTICE',
2047 => 'ALL',
2048 => 'STRICT',
4096 => 'RECOVERABLE_ERROR',
)
|