DB
[ class tree: DB ] [ index: DB ] [ all elements ]

Class: DB_Error

Source Location: /DB-1.6.6/DB.php

Class Overview

PEAR_Error
   |
   --DB_Error

DB_Error implements a class for reporting portable database error messages.


Author(s):

Methods


Inherited Variables

Inherited Methods


Class Details

[line 728]
DB_Error implements a class for reporting portable database error messages.


[ Top ]


Method Detail

DB_Error (Constructor)   [line 744]

DB_Error DB_Error( [mixed $code = DB_ERROR], [integer $mode = PEAR_ERROR_RETURN], [integer $level = E_USER_NOTICE], [mixed $debuginfo = null])

DB_Error constructor.
  • See: PEAR_Error
  • Access: public

Parameters:

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

[ Top ]


Documentation generated on Tue, 21 Sep 2004 14:30:31 -0400 by phpDocumentor 1.2.3. PEAR Logo Copyright © PHP Group 2004.