1 | <?php |
||
10 | class ClientException extends \RuntimeException |
||
11 | { |
||
12 | /** |
||
13 | * @var UnsuccessfulRequest |
||
14 | */ |
||
15 | protected $errorRequest; |
||
16 | |||
17 | 2 | public function __construct(string $message = '', int $code = 0, Throwable $previous = null) |
|
31 | |||
32 | 2 | public function setError(UnsuccessfulRequest $unsuccessfulRequest): ClientException |
|
40 | |||
41 | public function getError(): UnsuccessfulRequest |
||
45 | } |
||
46 |