Total Complexity | 2 |
Total Lines | 19 |
Duplicated Lines | 0 % |
Changes | 3 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
13 | class SignatureError extends \Exception |
||
14 | { |
||
15 | protected string $signatureCode; |
||
16 | |||
17 | public function __construct( |
||
18 | string $message = "", |
||
19 | string $signatureCode = null, |
||
20 | int $code = 0, |
||
21 | Throwable $previous = null |
||
22 | ) |
||
23 | { |
||
24 | $this->signatureCode = $signatureCode; |
||
25 | |||
26 | parent::__construct($message, $code, $previous); |
||
27 | } |
||
28 | |||
29 | public function getSignatureCode(): ?string |
||
32 | } |
||
33 | } |
||
34 |