MediaWiki REL1_37
MediaWiki\Rest\LocalizedHttpException Class Reference

@newable More...

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 ()
 

Private Attributes

 $messageValue
 

Detailed Description

@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 MediaWiki\Rest\HttpException\$errorData, and MediaWiki\Rest\LocalizedHttpException\$messageValue.

Member Function Documentation

◆ getMessageValue()

MediaWiki\Rest\LocalizedHttpException::getMessageValue ( )

Member Data Documentation

◆ $messageValue

MediaWiki\Rest\LocalizedHttpException::$messageValue
private

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