| 1 | <?php |
||
| 22 | abstract class ClientException extends Exception implements ClientExceptionInterface |
||
| 23 | { |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @var RequestInterface |
||
| 27 | */ |
||
| 28 | private $request; |
||
| 29 | |||
| 30 | /** |
||
| 31 | * Creates a NetworkException |
||
| 32 | * |
||
| 33 | * @param RequestInterface $request |
||
| 34 | * @param string $message |
||
| 35 | */ |
||
| 36 | public function __construct(RequestInterface $request, $message = "") |
||
| 41 | |||
| 42 | /** |
||
| 43 | * @inheritDoc |
||
| 44 | */ |
||
| 45 | public function getRequest(): RequestInterface |
||
| 49 | } |