ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Public Member Functions | |
__construct ($code=MDB2_ERROR, $mode=PEAR_ERROR_RETURN, $level=E_USER_NOTICE, $debuginfo=null) | |
MDB2_Error constructor. More... | |
Public Member Functions inherited from PEAR_Error | |
__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... | |
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::__construct | ( | $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 971 of file MDB2.php.
References $code, MDB2\errorMessage(), and MDB2_ERROR.