MediaWiki
master
|
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 1272 of file ApiMain.php.
UsageException::__construct | ( | $ | message, |
$ | codestr, | ||
$ | code = 0 , |
||
$ | extradata = null |
||
) |
$message | string |
$codestr | string |
$code | int |
$extradata | array|null |
Definition at line 1286 of file ApiMain.php.
Definition at line 1316 of file ApiMain.php.
Definition at line 1295 of file ApiMain.php.
Referenced by ApiOptionsTest\testAnon(), ApiOptionsTest\testNoChanges(), ApiOptionsTest\testNoOptionname(), ApiParseTest\testParseNonexistentPage(), and ApiWatchTest\testWatchRollback().
Definition at line 1302 of file ApiMain.php.
Referenced by ApiParseTest\testParseNonexistentPage().
UsageException::$mCodestr [private] |
Definition at line 1274 of file ApiMain.php.
null array UsageException::$mExtraData [private] |
Definition at line 1278 of file ApiMain.php.