Total Complexity | 2 |
Total Lines | 34 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php declare(strict_types=1); |
||
24 | class RequestException extends ClientException implements RequestExceptionInterface |
||
25 | { |
||
26 | |||
27 | /** |
||
28 | * Request instance |
||
29 | * |
||
30 | * @var RequestInterface |
||
31 | */ |
||
32 | protected $request; |
||
33 | |||
34 | /** |
||
35 | * Constructor of the class |
||
36 | * |
||
37 | * @param RequestInterface $request |
||
38 | * @param string $message |
||
39 | * @param int $code |
||
40 | * @param Throwable $previous |
||
41 | */ |
||
42 | 1 | public function __construct( |
|
50 | 1 | } |
|
51 | |||
52 | /** |
||
53 | * {@inheritDoc} |
||
54 | */ |
||
55 | 1 | public function getRequest() : RequestInterface |
|
60 |