Class DB_Error

Description

DB_Error implements a class for reporting portable database error messages

Located in /web/lib/external/pear-db/DB.php (line 948)

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 963)

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()
 PEAR_Error::__toString()

Documentation generated on Wed, 09 Feb 2011 08:59:19 +0700 by phpDocumentor 1.4.2