Debian Codegraph @

vendor/wikimedia/cldr-plural-rule-parser/src/Error.php

raw
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 }