Class DB_Error

Description

DB_Error implements a class for reporting portable database error messages.

Located in /maintenance/libraries/pear/DB.php (line 728)

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

DB_Error constructor.

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

Documentation generated on Fri, 11 Feb 2005 18:12:58 +0000 by phpDocumentor 1.3.0RC3