DB_DataObject::raiseError
Synopsis
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!
Parameter
-
int $message
- message -
resource $type
- type -
resource $behaviour
- behaviour (die or continue!);
Return value
object [unknown]
-
Замечание
This function can not be called statically.