Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
|||
MergingException | n/a |
0 / 0 |
n/a |
0 / 0 |
0 | n/a |
0 / 0 |
|||
getErrorMessage | n/a |
0 / 0 |
n/a |
0 / 0 |
0 | |||||
getApiErrorCode | n/a |
0 / 0 |
n/a |
0 / 0 |
0 |
1 | <?php |
2 | |
3 | namespace Wikibase\Lexeme\Domain\Merge\Exceptions; |
4 | |
5 | use MediaWiki\Message\Message; |
6 | use RuntimeException; |
7 | |
8 | /** |
9 | * @license GPL-2.0-or-later |
10 | */ |
11 | abstract class MergingException extends RuntimeException { |
12 | |
13 | abstract public function getErrorMessage(): Message; |
14 | |
15 | /** |
16 | * FIXME: presentation concept in Domain layer |
17 | * |
18 | * @return string |
19 | */ |
20 | abstract public function getApiErrorCode(); |
21 | |
22 | } |