Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
CRAP | |
0.00% |
0 / 1 |
UnexpectedInterwikiException | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 1 |
__construct | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 |
1 | <?php |
2 | |
3 | declare( strict_types=1 ); |
4 | |
5 | namespace MediaWiki\Extension\CampaignEvents\MWEntity; |
6 | |
7 | use RuntimeException; |
8 | |
9 | class UnexpectedInterwikiException extends RuntimeException { |
10 | /** |
11 | * @param string $interwiki |
12 | */ |
13 | public function __construct( string $interwiki ) { |
14 | parent::__construct( "Unexpectedly got a page with interwiki prefix `$interwiki`" ); |
15 | } |
16 | } |