MediaWiki
1.34.0
|
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 () | |
Private Attributes | |
array null | $errorData = null |
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 10 of file HttpException.php.
MediaWiki\Rest\HttpException::__construct | ( | $message, | |
$code = 500 , |
|||
$errorData = null |
|||
) |
Definition at line 15 of file HttpException.php.
References MediaWiki\Rest\HttpException\$errorData.
MediaWiki\Rest\HttpException::getErrorData | ( | ) |
Definition at line 23 of file HttpException.php.
References MediaWiki\Rest\HttpException\$errorData.
|
private |
Definition at line 13 of file HttpException.php.
Referenced by MediaWiki\Rest\HttpException\__construct(), and MediaWiki\Rest\HttpException\getErrorData().