MediaWiki REL1_39
MediaWiki\Rest\LocalizedHttpException Class Reference
Inheritance diagram for MediaWiki\Rest\LocalizedHttpException:
Collaboration diagram for MediaWiki\Rest\LocalizedHttpException:

Public Member Functions

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

Detailed Description

Stability: newable

Definition at line 10 of file LocalizedHttpException.php.

Constructor & Destructor Documentation

◆ __construct()

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

Definition at line 20 of file LocalizedHttpException.php.

References Wikimedia\Message\MessageValue\getKey().

Member Function Documentation

◆ getMessageValue()

MediaWiki\Rest\LocalizedHttpException::getMessageValue ( )

Definition at line 27 of file LocalizedHttpException.php.


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