Total Complexity | 2 |
Total Lines | 15 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php declare(strict_types=1); |
||
7 | class SaferpayErrorException extends \Exception |
||
8 | { |
||
9 | /** @var ErrorResponse */ |
||
10 | private $errorResponse; |
||
11 | |||
12 | public function __construct(ErrorResponse $errorResponse) |
||
13 | { |
||
14 | $this->errorResponse = $errorResponse; |
||
15 | |||
16 | parent::__construct(); |
||
17 | } |
||
18 | |||
19 | public function getErrorResponse(): ?ErrorResponse |
||
22 | } |
||
23 | } |
||
24 |