Total Complexity | 2 |
Total Lines | 26 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
8 | class ApiRequestFailedException extends \RuntimeException |
||
9 | { |
||
10 | /** |
||
11 | * @var ResponseInterface |
||
12 | */ |
||
13 | protected $response; |
||
14 | |||
15 | /** |
||
16 | * ApiRequestFailedException constructor. |
||
17 | * |
||
18 | * @param RequestException $exception |
||
19 | * @param ResponseInterface $response |
||
20 | */ |
||
21 | public function __construct(RequestException $exception, ResponseInterface $response) |
||
26 | } |
||
27 | |||
28 | /** |
||
29 | * @return ResponseInterface |
||
30 | */ |
||
31 | public function getResponse() |
||
36 |