MediaWiki
REL1_19
|
Since PHP4 doesn't have exceptions, here's some error objects loosely modeled on the standard PEAR_Error model... More...
Public Member Functions | |
__construct ($message) | |
getMessage () | |
toString () | |
In following PEAR_Error model this could be formatted differently, but so far it's not. | |
Static Public Member Functions | |
static | isError ($object) |
Returns true if the given object is a WikiError-descended error object, false otherwise. |
Since PHP4 doesn't have exceptions, here's some error objects loosely modeled on the standard PEAR_Error model...
Definition at line 31 of file WikiError.php.
WikiError::__construct | ( | $ | message | ) |
$message | string |
Reimplemented in WikiErrorMsg.
Definition at line 37 of file WikiError.php.
References wfDeprecated().
Reimplemented in WikiXmlError.
Definition at line 45 of file WikiError.php.
Referenced by toString().
static WikiError::isError | ( | $ | object | ) | [static] |
Returns true if the given object is a WikiError-descended error object, false otherwise.
$object | mixed |
Definition at line 67 of file WikiError.php.
References wfDeprecated().
Referenced by TextPassDumper\dump().
In following PEAR_Error model this could be formatted differently, but so far it's not.
Definition at line 54 of file WikiError.php.
References getMessage().