Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
CRAP | |
0.00% |
0 / 1 |
Error | |
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 | * @author Tim Starling |
4 | * @author Niklas Laxström |
5 | * @license GPL-2.0-or-later |
6 | * @file |
7 | */ |
8 | |
9 | namespace CLDRPluralRuleParser; |
10 | |
11 | /** |
12 | * The exception class for all the classes in this file. This will be thrown |
13 | * back to the caller if there is any validation error. |
14 | */ |
15 | class Error extends \Exception { |
16 | /** |
17 | * @param string $message |
18 | */ |
19 | public function __construct( $message ) { |
20 | parent::__construct( 'CLDR plural rule error: ' . $message ); |
21 | } |
22 | } |