| Total Complexity | 2 |
| Total Lines | 16 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 5 | class Exception extends \Exception |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * @var Response |
||
| 9 | */ |
||
| 10 | private $response; |
||
| 11 | |||
| 12 | public function __construct(string $message, Response $response) |
||
| 13 | { |
||
| 14 | parent::__construct($message); |
||
| 15 | $this->response = $response; |
||
| 16 | } |
||
| 17 | |||
| 18 | public function getResponse() : Response |
||
| 21 | } |
||
| 22 | } |
||
| 23 |