Class DB_Error

Description

DB_Error implements a class for reporting portable database error messages

Located in /DB.php (line 869)

PEAR_Error
   |
   --DB_Error
Method Summary
DB_Error DB_Error ([mixed $code = DB_ERROR], [int $mode = PEAR_ERROR_RETURN], [int $level = E_USER_NOTICE], [mixed $debuginfo = null])
Variables
Methods
Constructor DB_Error (line 884)

DB_Error constructor

DB_Error DB_Error ([mixed $code = DB_ERROR], [int $mode = PEAR_ERROR_RETURN], [int $level = E_USER_NOTICE], [mixed $debuginfo = null])
  • mixed $code: DB error code, or string with error message
  • int $mode: what "error mode" to operate in
  • int $level: what error level to use for $mode & PEAR_ERROR_TRIGGER
  • mixed $debuginfo: additional debug info, such as the last query

Inherited Methods

Inherited From PEAR_Error

PEAR_Error::PEAR_Error()
PEAR_Error::addUserInfo()
PEAR_Error::getBacktrace()
PEAR_Error::getCallback()
PEAR_Error::getCode()
PEAR_Error::getDebugInfo()
PEAR_Error::getMessage()
PEAR_Error::getMode()
PEAR_Error::getType()
PEAR_Error::getUserInfo()
PEAR_Error::toString()

Documentation generated on Wed, 28 Mar 2007 09:54:11 -0600 by phpDocumentor 1.3.1