Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
Wikibase\Repo\Interactors\RedirectCreationException Class Reference

Exception representing a failure to execute the "create redirect" use case. More...

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

Public Member Functions

 __construct ( $message, $errorCode='', array $params=[], 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 "create redirect" use case.

Author
Daniel Kinzler

Constructor & Destructor Documentation

◆ __construct()

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

Member Function Documentation

◆ getErrorCode()

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

Member Data Documentation

◆ $errorCode

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

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