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

Class: DB_Error

Source Location: /DB-1.7.2/DB.php

Class Overview

PEAR_Error
   |
   --DB_Error

DB_Error implements a class for reporting portable database error messages


Author(s):

Version:

  • Release: @package_version@

Copyright:

  • 1997-2005 The PHP Group

Methods


Inherited Variables

Inherited Methods


Class Details

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


[ Top ]


Method Detail

DB_Error (Constructor)   [line 883]

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 Mon, 11 Mar 2019 14:28:03 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.