Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | |
0.00% |
0 / 2 |
|
0.00% |
0 / 2 |
CRAP | |
0.00% |
0 / 1 |
LexemeSaveFailedException | |
0.00% |
0 / 2 |
|
0.00% |
0 / 2 |
6 | |
0.00% |
0 / 1 |
getErrorMessage | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
getApiErrorCode | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 |
1 | <?php |
2 | |
3 | namespace Wikibase\Lexeme\Domain\Merge\Exceptions; |
4 | |
5 | use MediaWiki\Message\Message; |
6 | |
7 | /** |
8 | * @license GPL-2.0-or-later |
9 | */ |
10 | class LexemeSaveFailedException extends MergingException { |
11 | |
12 | public function getErrorMessage(): Message { |
13 | return new Message( 'wikibase-lexeme-mergelexemes-error-failed-save' ); |
14 | } |
15 | |
16 | public function getApiErrorCode() { |
17 | return 'failed-save'; |
18 | } |
19 | |
20 | } |