ILIAS
release_5-0 Revision 5.0.0-1144-gc4397b1f870
|
Public Member Functions | |
PEAR_Error ($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::__toString | ( | ) |
Definition at line 1055 of file PEAR.php.
PEAR_Error::addUserInfo | ( | $info | ) |
PEAR_Error::getBacktrace | ( | $frame = null | ) |
PEAR_Error::getCallback | ( | ) |
PEAR_Error::getCode | ( | ) |
Get error code from an error object.
PEAR_Error::getDebugInfo | ( | ) |
Get additional debug information supplied by the application.
Definition at line 1014 of file PEAR.php.
PEAR_Error::getMessage | ( | ) |
PEAR_Error::getMode | ( | ) |
Get the error mode from an error object.
PEAR_Error::getType | ( | ) |
PEAR_Error::getUserInfo | ( | ) |
Get additional user-supplied information.
PEAR_Error::PEAR_Error | ( | $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 |
public
Definition at line 861 of file PEAR.php.
References $options, PEAR\getStaticProperty(), PEAR_ERROR_CALLBACK, PEAR_ERROR_DIE, PEAR_ERROR_EXCEPTION, PEAR_ERROR_PRINT, PEAR_ERROR_RETURN, and PEAR_ERROR_TRIGGER.
Referenced by IT_Error\IT_Error().
PEAR_Error::toString | ( | ) |
Make a string representation of this object.
Definition at line 1068 of file PEAR.php.
References PEAR_ERROR_CALLBACK, PEAR_ERROR_DIE, PEAR_ERROR_PRINT, PEAR_ERROR_RETURN, and PEAR_ERROR_TRIGGER.
PEAR_Error::$code = -1 |
Definition at line 833 of file PEAR.php.
Referenced by ilBMFFault\getFault().
PEAR_Error::$error_message_prefix = '' |
Definition at line 830 of file PEAR.php.
Referenced by ilBMFFault\getActor(), and ilBMFFault\getFault().
PEAR_Error::$message = '' |
Definition at line 834 of file PEAR.php.
Referenced by ilBMFFault\getFault().
PEAR_Error::$mode = PEAR_ERROR_RETURN |
Definition at line 831 of file PEAR.php.
Referenced by ilBMFFault\ilBMFFault().
PEAR_Error::$userinfo = '' |
Definition at line 835 of file PEAR.php.
Referenced by ilBMFFault\getDetail(), and ilBMFFault\getFault().