| Total Complexity | 2 |
| Total Lines | 16 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php declare(strict_types = 1); |
||
| 7 | abstract class RequestException extends RuntimeException |
||
| 8 | { |
||
| 9 | |||
| 10 | /** @var Response */ |
||
| 11 | private $response; |
||
| 12 | |||
| 13 | 7 | public function __construct(string $message, Response $response) |
|
| 14 | { |
||
| 15 | 7 | parent::__construct($message); |
|
| 16 | |||
| 17 | 7 | $this->response = $response; |
|
| 18 | 7 | } |
|
| 19 | |||
| 20 | 7 | public function getResponse(): Response |
|
| 23 | } |
||
| 24 | |||
| 26 |