|
ILIAS
release_7 Revision v7.30-3-g800a261c036
|
Collaboration diagram for PEAR_Error:Public Member Functions | |
| __construct ($message='unknown error', $code=null, $mode=null, $options=null, $userinfo=null) | |
| PEAR_Error constructor. More... | |
| getMode () | |
| Get the error mode from an error object. More... | |
| getCallback () | |
| Get the callback function/method from an error object. More... | |
| getMessage () | |
| Get the error message from an error object. More... | |
| getCode () | |
| Get error code from an error object. More... | |
| getType () | |
| Get the name of this error/exception. More... | |
| getUserInfo () | |
| Get additional user-supplied information. More... | |
| getDebugInfo () | |
| Get additional debug information supplied by the application. More... | |
| getBacktrace ($frame=null) | |
| Get the call backtrace from where the error was generated. More... | |
| addUserInfo ($info) | |
| __toString () | |
| toString () | |
| Make a string representation of this object. More... | |
Data Fields | |
| $error_message_prefix = '' | |
| $mode = PEAR_ERROR_RETURN | |
| $level = E_USER_NOTICE | |
| $code = -1 | |
| $message = '' | |
| $userinfo = '' | |
| $backtrace = null | |
| PEAR_Error::__construct | ( | $message = 'unknown error', |
|
$code = null, |
|||
$mode = null, |
|||
$options = null, |
|||
$userinfo = null |
|||
| ) |
PEAR_Error constructor.
| string | $message | message |
| int | $code | (optional) error code |
| int | $mode | (optional) error mode, one of: PEAR_ERROR_RETURN, PEAR_ERROR_PRINT, PEAR_ERROR_DIE, PEAR_ERROR_TRIGGER, PEAR_ERROR_CALLBACK or PEAR_ERROR_EXCEPTION |
| mixed | $options | (optional) error level, OR in the case of PEAR_ERROR_CALLBACK, the callback function or object/method tuple. |
| string | $userinfo | (optional) additional user/debug info |
@access public
Definition at line 865 of file PEAR.php.
References $code, Vendor\Package\$e, $format, $message, $mode, $userinfo, getMessage(), PEAR\getStaticProperty(), PEAR_ERROR_CALLBACK, PEAR_ERROR_DIE, PEAR_ERROR_EXCEPTION, PEAR_ERROR_PRINT, PEAR_ERROR_RETURN, and PEAR_ERROR_TRIGGER.
Here is the call graph for this function:| PEAR_Error::__toString | ( | ) |
Definition at line 1059 of file PEAR.php.
References getMessage().
Here is the call graph for this function:| PEAR_Error::addUserInfo | ( | $info | ) |
| PEAR_Error::getBacktrace | ( | $frame = null | ) |
Get the call backtrace from where the error was generated.
Supported with PHP 4.3.0 or newer.
| int | $frame | (optional) what frame to fetch |
Definition at line 1034 of file PEAR.php.
References $backtrace.
| PEAR_Error::getCallback | ( | ) |
| PEAR_Error::getCode | ( | ) |
| PEAR_Error::getDebugInfo | ( | ) |
Get additional debug information supplied by the application.
Definition at line 1018 of file PEAR.php.
References getUserInfo().
Here is the call graph for this function:| PEAR_Error::getMessage | ( | ) |
Get the error message from an error object.
Definition at line 961 of file PEAR.php.
Referenced by __construct(), and __toString().
Here is the caller graph for this function:| PEAR_Error::getMode | ( | ) |
| PEAR_Error::getType | ( | ) |
| PEAR_Error::getUserInfo | ( | ) |
Get additional user-supplied information.
Definition at line 1004 of file PEAR.php.
References $userinfo.
Referenced by getDebugInfo().
Here is the caller graph for this function:| PEAR_Error::toString | ( | ) |
Make a string representation of this object.
Definition at line 1072 of file PEAR.php.
References PEAR_ERROR_CALLBACK, PEAR_ERROR_DIE, PEAR_ERROR_PRINT, PEAR_ERROR_RETURN, and PEAR_ERROR_TRIGGER.
| PEAR_Error::$backtrace = null |
Definition at line 840 of file PEAR.php.
Referenced by getBacktrace().
| PEAR_Error::$code = -1 |
Definition at line 837 of file PEAR.php.
Referenced by __construct(), and getCode().
| PEAR_Error::$message = '' |
Definition at line 838 of file PEAR.php.
Referenced by __construct().
| PEAR_Error::$mode = PEAR_ERROR_RETURN |
Definition at line 835 of file PEAR.php.
Referenced by __construct(), and getMode().
| PEAR_Error::$userinfo = '' |
Definition at line 839 of file PEAR.php.
Referenced by __construct(), and getUserInfo().