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

Exception representing a token check failure. More...

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

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 token check failure.

Author
Daniel Kinzler

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Repo\Interactors\TokenCheckException::__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\TokenCheckException::getErrorCode ( )
Returns
string

Member Data Documentation

◆ $errorCode

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

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