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

Class: MDB2_Error

Source Location: /MDB2-2.5.0b5/MDB2.php

Class Overview

PEAR_Error
   |
   --MDB2_Error

MDB2_Error implements a class for reporting portable database error messages.


Author(s):

Methods


Inherited Variables

Inherited Methods


Class Details

[line 960]
MDB2_Error implements a class for reporting portable database error messages.


[ Top ]


Method Detail

__construct (Constructor)   [line 972]

MDB2_Error __construct( [mixed $code = MDB2_ERROR], [int $mode = PEAR_ERROR_RETURN], [int $level = E_USER_NOTICE], [mixed $debuginfo = null], [ $dummy = null])

MDB2_Error constructor.

Parameters:

mixed   $code   —  MDB2 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
   $dummy   — 

[ Top ]


Documentation generated on Mon, 11 Mar 2019 15:51:35 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.