Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
Wikibase\Repo\ChangeOp\Deserialization\ChangeOpDeserializationException Class Reference

Thrown from ChangeOpDeserializers to be handled by a higher abstraction layer such as the API. More...

+ Inheritance diagram for Wikibase\Repo\ChangeOp\Deserialization\ChangeOpDeserializationException:
+ Collaboration diagram for Wikibase\Repo\ChangeOp\Deserialization\ChangeOpDeserializationException:

Public Member Functions

 __construct ( $message, $errorCode, array $params=[])
 
 getErrorCode ()
 
 getParams ()
 

Private Attributes

 $errorCode
 
 $params
 

Detailed Description

Thrown from ChangeOpDeserializers to be handled by a higher abstraction layer such as the API.

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Repo\ChangeOp\Deserialization\ChangeOpDeserializationException::__construct (   $message,
  $errorCode,
array  $params = [] 
)
Parameters
string$message- descriptive error message to be used in logs
string$errorCode- i18n code of the error message
array$params- optional parameters (e.g. i18n message arguments)

Member Function Documentation

◆ getErrorCode()

Wikibase\Repo\ChangeOp\Deserialization\ChangeOpDeserializationException::getErrorCode ( )

◆ getParams()

Wikibase\Repo\ChangeOp\Deserialization\ChangeOpDeserializationException::getParams ( )

Member Data Documentation

◆ $errorCode

Wikibase\Repo\ChangeOp\Deserialization\ChangeOpDeserializationException::$errorCode
private

◆ $params

Wikibase\Repo\ChangeOp\Deserialization\ChangeOpDeserializationException::$params
private

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