Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
CRAP | |
100.00% |
1 / 1 |
RegexInvalidMatchIndexException | |
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 | * @package: pvc |
4 | * @author: Doug Wilbourne (dougwilbourne@gmail.com) |
5 | */ |
6 | |
7 | declare(strict_types = 1); |
8 | |
9 | namespace pvc\regex\err; |
10 | |
11 | use pvc\err\stock\LogicException; |
12 | use Throwable; |
13 | |
14 | /** |
15 | * Class RegexInvalidMatchIndexException |
16 | */ |
17 | class RegexInvalidMatchIndexException extends LogicException |
18 | { |
19 | /** |
20 | * RegexInvalidMatchIndexException constructor. |
21 | * @param int|string $badIndex |
22 | * @param Throwable|null $previous |
23 | * @throws \ReflectionException |
24 | * @throws \ReflectionException |
25 | */ |
26 | public function __construct($badIndex, Throwable $previous = null) |
27 | { |
28 | parent::__construct($badIndex, $previous); |
29 | } |
30 | } |