1 | <?php |
||
13 | class RequestException extends HttpClientException |
||
14 | { |
||
15 | /** |
||
16 | * @var RequestInterface |
||
17 | */ |
||
18 | protected $request; |
||
19 | |||
20 | /** |
||
21 | * RequestException constructor. |
||
22 | * |
||
23 | * @param RequestInterface $request |
||
24 | * @param \Exception $previous |
||
25 | */ |
||
26 | public function __construct(RequestInterface $request, \Exception $previous) |
||
38 | |||
39 | /** |
||
40 | * Get request |
||
41 | * |
||
42 | * @return RequestInterface |
||
43 | */ |
||
44 | public function getRequest(): RequestInterface |
||
48 | } |