Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
CRAP | |
100.00% |
1 / 1 |
| ParserOutputException | |
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 | declare(strict_types=1); |
| 4 | |
| 5 | namespace Cosray\Exception; |
| 6 | |
| 7 | use Cosray\Finder\Input\Token; |
| 8 | use Throwable; |
| 9 | |
| 10 | class ParserOutputException extends ParserException implements CmsException |
| 11 | { |
| 12 | public function __construct( |
| 13 | #[\SensitiveParameter] |
| 14 | public readonly Token $token, |
| 15 | string $message, |
| 16 | int $code = 0, |
| 17 | ?Throwable $previous = null, |
| 18 | ) { |
| 19 | parent::__construct($message, $code, $previous); |
| 20 | } |
| 21 | } |