|
MediaWiki master
|
Inherits MediaWiki\Rest\HttpException.

Public Member Functions | |
| __construct (private readonly MessageSpecifier $messageSpecifier, int $code=500, array $errorData=[],) | |
| getErrorKey () | |
| getMessageSpecifier () | |
| getMessageValue () | |
| Public Member Functions inherited from MediaWiki\Rest\HttpException | |
| __construct (string $message, int $code=500, private readonly array $errorData=[],) | |
| getErrorData () | |
Definition at line 12 of file LocalizedHttpException.php.
| MediaWiki\Rest\LocalizedHttpException::__construct | ( | private readonly MessageSpecifier | $messageSpecifier, |
| int | $code = 500, | ||
| array | $errorData = [] ) |
| MessageSpecifier | $messageSpecifier | Prior to MediaWiki 1.47 this had to be a MessageValue |
| int | $code | |
| array | $errorData |
Definition at line 21 of file LocalizedHttpException.php.
| MediaWiki\Rest\LocalizedHttpException::getErrorKey | ( | ) |
Definition at line 50 of file LocalizedHttpException.php.
References return.
| MediaWiki\Rest\LocalizedHttpException::getMessageSpecifier | ( | ) |
Definition at line 46 of file LocalizedHttpException.php.
References return.
| MediaWiki\Rest\LocalizedHttpException::getMessageValue | ( | ) |
Definition at line 38 of file LocalizedHttpException.php.
References return.