Total Complexity | 2 |
Total Lines | 18 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
20 | class RequestException extends ClientException implements RequestExceptionInterface{ |
||
21 | |||
22 | protected RequestInterface $request; |
||
23 | |||
24 | /** |
||
25 | * |
||
26 | */ |
||
27 | public function __construct(string $message, RequestInterface $request, Throwable $previous = null){ |
||
28 | $this->request = $request; |
||
29 | |||
30 | parent::__construct($message, 0, $previous); |
||
31 | } |
||
32 | |||
33 | /** |
||
34 | * @inheritDoc |
||
35 | */ |
||
36 | public function getRequest():RequestInterface{ |
||
38 | } |
||
39 | |||
41 |