| Total Complexity | 4 |
| Total Lines | 28 |
| Duplicated Lines | 0 % |
| Coverage | 55.56% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | class ApiException extends \Exception implements DomainException |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * @var Error|null |
||
| 14 | */ |
||
| 15 | protected $error; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @var ResponseInterface |
||
| 19 | */ |
||
| 20 | protected $response; |
||
| 21 | |||
| 22 | 378 | public function __construct(ResponseInterface $response, Error $error = null) |
|
| 28 | 378 | } |
|
| 29 | |||
| 30 | public function getError(): ?Error |
||
| 33 | } |
||
| 34 | |||
| 35 | public function getResponse(): ResponseInterface |
||
| 40 |