DB_DataObject::raiseError – throw an error


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


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!


  • int $message - message

  • resource $type - type

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

Return value

object [unknown] -


This function can not be called statically.

output debug information. (Previous) DB_DataObject_Cast ::
date(), ::
blob(), ::
sql() (Next)
Last updated: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.