MediaWiki master
MediaWiki\Rest\LocalizedHttpException Class Reference

Inherits MediaWiki\Rest\HttpException.

Collaboration diagram for MediaWiki\Rest\LocalizedHttpException:

Public Member Functions

 __construct (MessageValue $messageValue, $code=500, $errorData=[])
 
 getErrorKey ()
 
 getMessageValue ()
 
- Public Member Functions inherited from MediaWiki\Rest\HttpException
 __construct ( $message, $code=500, $errorData=[])
 
 getErrorData ()
 

Detailed Description

Stability: newable

Definition at line 11 of file LocalizedHttpException.php.

Constructor & Destructor Documentation

◆ __construct()

MediaWiki\Rest\LocalizedHttpException::__construct ( MessageValue  $messageValue,
  $code = 500,
  $errorData = [] 
)
Stability: stable
to call
Parameters
MessageValue$messageValue
int$code
array$errorData

Definition at line 22 of file LocalizedHttpException.php.

References Wikimedia\Message\MessageValue\getKey().

Member Function Documentation

◆ getErrorKey()

MediaWiki\Rest\LocalizedHttpException::getErrorKey ( )

Definition at line 40 of file LocalizedHttpException.php.

◆ getMessageValue()

MediaWiki\Rest\LocalizedHttpException::getMessageValue ( )

Definition at line 36 of file LocalizedHttpException.php.


The documentation for this class was generated from the following file: