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

Exception thrown when the validation of a change operation failed. More...

+ Inheritance diagram for Wikibase\Repo\ChangeOp\ChangeOpApplyException:
+ Collaboration diagram for Wikibase\Repo\ChangeOp\ChangeOpApplyException:

Public Member Functions

 __construct ( $key, array $params=[], Exception $previous=null)
 
 getKey ()
 
 getParams ()
 

Protected Attributes

 $key
 
 $params
 

Detailed Description

Exception thrown when the validation of a change operation failed.

This is essentially a wrapper for ValueValidators\Result.

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Repo\ChangeOp\ChangeOpApplyException::__construct ( $key,
array $params = [],
Exception $previous = null )
Parameters
string$key
array$paramsList of parameters, depending on the message. Calling code must make sure these parameters are properly escaped.
Exception | null$previous

Member Function Documentation

◆ getKey()

Wikibase\Repo\ChangeOp\ChangeOpApplyException::getKey ( )
Returns
string

◆ getParams()

Wikibase\Repo\ChangeOp\ChangeOpApplyException::getParams ( )
Returns
array

Member Data Documentation

◆ $key

Wikibase\Repo\ChangeOp\ChangeOpApplyException::$key
protected

◆ $params

Wikibase\Repo\ChangeOp\ChangeOpApplyException::$params
protected

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