Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
CRAP | |
100.00% |
1 / 1 |
RegexBadPatternException | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |
100.00% |
1 / 1 |
__construct | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 |
1 | <?php |
2 | |
3 | /** |
4 | * @package: pvcRegex |
5 | * @author: Doug Wilbourne (dougwilbourne@gmail.com) |
6 | */ |
7 | |
8 | declare(strict_types = 1); |
9 | |
10 | namespace pvc\regex\err; |
11 | |
12 | use pvc\err\stock\LogicException; |
13 | use Throwable; |
14 | |
15 | /** |
16 | * Class RegexInvalidRegexException |
17 | */ |
18 | class RegexBadPatternException extends LogicException |
19 | { |
20 | public function __construct(string $badPattern, Throwable $previous = null) |
21 | { |
22 | parent::__construct($badPattern, $previous); |
23 | } |
24 | } |