Wikibase
MediaWiki Wikibase extension
Wikibase\Repo\Interactors\ItemMergeException Class Reference

Exception representing a failure to execute the "merge items" use case. More...

+ Inheritance diagram for Wikibase\Repo\Interactors\ItemMergeException:
+ Collaboration diagram for Wikibase\Repo\Interactors\ItemMergeException:

Public Member Functions

 __construct ( $message, $errorCode='', Exception $previous=null)
 
 getErrorCode ()
 
- Public Member Functions inherited from Wikibase\Lib\MessageException
 __construct ( $key, array $params, $message, Exception $previous=null)
 
 getKey ()
 
 getParams ()
 

Private Attributes

 $errorCode
 

Additional Inherited Members

- Protected Attributes inherited from Wikibase\Lib\MessageException
 $key
 
 $params
 

Detailed Description

Exception representing a failure to execute the "merge items" use case.

Author
Daniel Kinzler

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Repo\Interactors\ItemMergeException::__construct (   $message,
  $errorCode = '',
Exception  $previous = null 
)
Parameters
string$messageA free form message, for logging and debugging
string$errorCodeAn error code, for use in the API
Exception | null$previousThe previous exception that caused this exception.

Member Function Documentation

◆ getErrorCode()

Wikibase\Repo\Interactors\ItemMergeException::getErrorCode ( )
Returns
string

Member Data Documentation

◆ $errorCode

Wikibase\Repo\Interactors\ItemMergeException::$errorCode
private

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