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

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

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

Public Member Functions

 __construct (Result $result, Exception $previous=null)
 
 getValidationResult ()
 

Private Member Functions

 composeErrorMessage (array $errors)
 

Private Attributes

 $result
 

Detailed Description

Exception thrown when the validation of a change operation failed.

This is essentially a wrapper for ValueValidators\Result.

Author
Daniel Kinzler

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Repo\ChangeOp\ChangeOpValidationException::__construct ( Result  $result,
Exception  $previous = null 
)
Parameters
Result$result
Exception | null$previous
Exceptions
InvalidArgumentException

Member Function Documentation

◆ composeErrorMessage()

Wikibase\Repo\ChangeOp\ChangeOpValidationException::composeErrorMessage ( array  $errors)
private
Parameters
Error[]$errors
Returns
string

◆ getValidationResult()

Wikibase\Repo\ChangeOp\ChangeOpValidationException::getValidationResult ( )
Returns
Result

Member Data Documentation

◆ $result

Wikibase\Repo\ChangeOp\ChangeOpValidationException::$result
private

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