MediaWiki REL1_39
|
This is the base exception class for non-fatal exceptions thrown from REST handlers. More...
Public Member Functions | |
__construct ( $message, $code=500, $errorData=null) | |
getErrorData () | |
This is the base exception class for non-fatal exceptions thrown from REST handlers.
The exception is not logged, it is merely converted to an error response.
Definition at line 12 of file HttpException.php.
MediaWiki\Rest\HttpException::__construct | ( | $message, | |
$code = 500, | |||
$errorData = null ) |
string | $message | |
int | $code | |
array | null | $errorData |
Definition at line 24 of file HttpException.php.
MediaWiki\Rest\HttpException::getErrorData | ( | ) |
Definition at line 32 of file HttpException.php.