previous->debug() (Previous) (Next) Casting - Dates, Blobs and Nullnext

View this page in Last updated: Tue, 02 Jun 2009
English | Brazilian Portuguese | Chinese | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Turkish

DB_DataObject::raiseError

DB_DataObject::raiseError – throw an error

Synopsis

object DB_DataObject::raiseError ( int $message , resource $type = null , resource $behaviour = null )

Description

Default error handling is to create a PEAR::Error, but never return it. If you need to handle errors you should look at setting the PEAR_Error callback this is due to the fact it would wreck havoc on the internal methods!

Parameter

  • int $message - message

  • resource $type - type

  • resource $behaviour - behaviour (die or continue!);

Return value

object [unknown] -

Note

This function can not be called statically.

previous->debug() (Previous) (Next) Casting - Dates, Blobs and Nullnext

Download Documentation Last updated: Tue, 02 Jun 2009
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.