Public Member Functions | |
PEAR_Error ($message= 'unknown error', $code=null, $mode=null, $options=null, $userinfo=null) | |
getMode () | |
getCallback () | |
getMessage () | |
getCode () | |
getType () | |
getUserInfo () | |
getDebugInfo () | |
getBacktrace ($frame=null) | |
addUserInfo ($info) | |
toString () | |
Public Attributes | |
$error_message_prefix = '' | |
$mode = PEAR_ERROR_RETURN | |
$level = E_USER_NOTICE | |
$code = -1 | |
$message = '' | |
$userinfo = '' | |
$backtrace = null |
|
PEAR_Error constructor
Definition at line 698 of file PEAR.php. References $code, $message, $mode, $options, $userinfo, getMessage(), PEAR_ERROR_CALLBACK, PEAR_ERROR_DIE, PEAR_ERROR_PRINT, PEAR_ERROR_RETURN, and PEAR_ERROR_TRIGGER. |
|
Definition at line 877 of file PEAR.php. References addUserInfo(). Referenced by addUserInfo(). |
|
Get the call backtrace from where the error was generated. Supported with PHP 4.3.0 or newer.
Definition at line 866 of file PEAR.php. References getBacktrace(). Referenced by getBacktrace(). |
|
Get the callback function/method from an error object.
|
|
Get error code from an error object
|
|
Get additional debug information supplied by the application.
Definition at line 850 of file PEAR.php. References getUserInfo(). |
|
Get the error message from an error object.
Definition at line 793 of file PEAR.php. Referenced by PEAR_Error(). |
|
Get the error mode from an error object.
|
|
Get the name of this error/exception.
|
|
Get additional user-supplied information.
Definition at line 836 of file PEAR.php. Referenced by getDebugInfo(). |
|
Make a string representation of this object.
Definition at line 895 of file PEAR.php. References PEAR_ERROR_CALLBACK, PEAR_ERROR_DIE, PEAR_ERROR_PRINT, PEAR_ERROR_RETURN, and PEAR_ERROR_TRIGGER. |
|
|
|
Definition at line 670 of file PEAR.php. Referenced by PEAR_Error(). |
|
|
|
|
|
Definition at line 671 of file PEAR.php. Referenced by PEAR_Error(). |
|
Definition at line 668 of file PEAR.php. Referenced by PEAR_Error(). |
|
Definition at line 672 of file PEAR.php. Referenced by PEAR_Error(). |