ILIAS
Release_4_2_x_branch Revision 61807
|
Public Member Functions | |
MDB2_Error ($code=MDB2_ERROR, $mode=PEAR_ERROR_RETURN, $level=E_USER_NOTICE, $debuginfo=null) | |
MDB2_Error constructor. | |
Public Member Functions inherited from PEAR_Error | |
PEAR_Error ($message= 'unknown error', $code=null, $mode=null, $options=null, $userinfo=null) | |
PEAR_Error constructor. | |
getMode () | |
Get the error mode from an error object. | |
getCallback () | |
Get the callback function/method from an error object. | |
getMessage () | |
Get the error message from an error object. | |
getCode () | |
Get error code from an error object. | |
getType () | |
Get the name of this error/exception. | |
getUserInfo () | |
Get additional user-supplied information. | |
getDebugInfo () | |
Get additional debug information supplied by the application. | |
getBacktrace ($frame=null) | |
Get the call backtrace from where the error was generated. | |
addUserInfo ($info) | |
__toString () | |
toString () | |
Make a string representation of this object. |
Additional Inherited Members | |
Data Fields inherited from PEAR_Error | |
$error_message_prefix = '' | |
$mode = PEAR_ERROR_RETURN | |
$level = E_USER_NOTICE | |
$code = -1 | |
$message = '' | |
$userinfo = '' | |
$backtrace = null |
MDB2_Error::MDB2_Error | ( | $code = MDB2_ERROR , |
|
$mode = PEAR_ERROR_RETURN , |
|||
$level = E_USER_NOTICE , |
|||
$debuginfo = null |
|||
) |
MDB2_Error constructor.
mixed | MDB2 error code, or string with error message. |
int | what 'error mode' to operate in |
int | what error level to use for $mode & PEAR_ERROR_TRIGGER |
smixed | additional debug info, such as the last query |
Definition at line 966 of file MDB2.php.
References PEAR_Error\$code, PEAR_Error\$level, PEAR_Error\$mode, MDB2\errorMessage(), MDB2_ERROR, and PEAR_Error\PEAR_Error().