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

Class: DB_Error

Source Location: /DB-1.8.2/DB.php

Class Overview

PEAR_Error
   |
   --DB_Error

DB_Error implements a class for reporting portable database error messages


Author(s):

Version:

  • Release: 1.8.2

Copyright:

  • 1997-2007 The PHP Group

Methods


Inherited Variables

Inherited Methods


Class Details

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


[ Top ]


Method Detail

DB_Error (Constructor)   [line 962]

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

DB_Error constructor
  • See: PEAR_Error

Parameters:

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

[ Top ]


Documentation generated on Thu, 27 Nov 2014 17:30:08 +0000 by phpDocumentor 1.4.3. PEAR Logo Copyright © PHP Group 2004.