File: ErrorStack.php
Source Location: /PEAR-1.10.12/PEAR/ErrorStack.php
Classes:
PEAR_ErrorStack
Error Stack Implementation
Page Details:
Error Stack Implementation
This is an incredibly simple implementation of a very complex error handling facility. It contains the ability to track multiple errors from multiple packages simultaneously. In addition, it can track errors of many levels, save data along with the error, context information such as the exact file, line number, class and function that generated the error, and if necessary, it can raise a traditional PEAR_Error. It has built-in support for PEAR::Log, to log errors as they occur Since version 0.2alpha, it is also possible to selectively ignore errors, through the use of an error callback, see pushCallback() Since version 0.3alpha, it is possible to specify the exception class returned from push() Since version PEAR1.3.2, ErrorStack no longer instantiates an exception class. This can still be done quite handily in an error callback or by manipulating the returned array
PEAR_ERRORSTACK_DIE [line 109]
PEAR_ERRORSTACK_ERR_NONCLASS [line 116]
PEAR_ERRORSTACK_ERR_OBJTOSTRING [line 122]
PEAR_ERRORSTACK_IGNORE [line 105]
PEAR_ERRORSTACK_LOG [line 101]
PEAR_ERRORSTACK_PUSH [line 96]
PEAR_ERRORSTACK_PUSHANDLOG [line 91]
Documentation generated on Sun, 19 Apr 2020 14:22:13 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|