|
MediaWiki
REL1_24
|
This exception will be thrown when dieUsage is called to stop module execution. More...


Public Member Functions | |
| __construct ($message, $codestr, $code=0, $extradata=null) | |
| __toString () | |
| getCodeString () | |
| getMessageArray () | |
Private Attributes | |
| $mCodestr | |
| null array | $mExtraData |
This exception will be thrown when dieUsage is called to stop module execution.
The exception handling code will print a help screen explaining how this API may be used.
Definition at line 1428 of file ApiMain.php.
| UsageException::__construct | ( | $ | message, |
| $ | codestr, | ||
| $ | code = 0, |
||
| $ | extradata = null |
||
| ) |
| string | $message | |
| string | $codestr | |
| int | $code | |
| array | null | $extradata |
Definition at line 1442 of file ApiMain.php.
Definition at line 1473 of file ApiMain.php.
Definition at line 1451 of file ApiMain.php.
Referenced by ApiMainTest\testAssert(), ApiEditPageTest\testEdit_redirectText(), ApiEditPageTest\testEditConflict(), ApiEditPageTest\testEditSection(), ApiParseTest\testParseNonexistentPage(), and ApiWatchTest\testWatchRollback().
Definition at line 1458 of file ApiMain.php.
Referenced by ApiParseTest\testParseNonexistentPage().
UsageException::$mCodestr [private] |
Definition at line 1430 of file ApiMain.php.
null array UsageException::$mExtraData [private] |
Definition at line 1434 of file ApiMain.php.