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

Class: DB_DataObject_Error

Source Location: /DB_DataObject-1.11.5/DB/DataObject/Error.php

Class Overview


DataObjects error handler, loaded on demand...



  • CVS: $Id: Error.php 287158 2009-08-12 13:58:31Z alan_k $


  • 1997-2006 The PHP Group


Inherited Variables

Inherited Methods

Class Details

[line 26]
DataObjects error handler, loaded on demand...

DB_DataObject_Error is a quick wrapper around pear error, so you can distinguish the error code source.

PHP versions 4 and 5

LICENSE: This source file is subject to version 3.01 of the PHP license that is available through the world-wide-web at the following URI: http://www.php.net/license/3_01.txt. If you did not receive a copy of the PHP License and are unable to obtain it through the web, please send a note to license@php.net so we can mail you a copy immediately.

[ Top ]

Method Detail

DB_DataObject_Error (Constructor)   [line 41]

DB_DataObject_Error DB_DataObject_Error( [ $message = ''], [mixed $code = DB_ERROR], [integer $mode = PEAR_ERROR_RETURN], [integer $level = E_USER_NOTICE], mixed $debuginfo)

DB_DataObject_Error constructor.
  • See: PEAR_Error
  • Access: public


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
   $message   — 

[ Top ]

Documentation generated on Wed, 09 Dec 2015 23:16:05 +0000 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.