1 | <?php |
||
12 | abstract class AbstractRateLimitException extends \Exception |
||
13 | { |
||
14 | /** @var string */ |
||
15 | protected $retryAfter; |
||
16 | |||
17 | /** @var ClientException */ |
||
18 | protected $clientException; |
||
19 | |||
20 | /** |
||
21 | * @return string |
||
22 | */ |
||
23 | 1 | public function getRetryAfter() |
|
27 | |||
28 | /** |
||
29 | * @param string $retryAfter |
||
30 | * |
||
31 | * @return $this |
||
32 | */ |
||
33 | 1 | public function setRetryAfter($retryAfter) |
|
39 | |||
40 | /** |
||
41 | * @return ClientException |
||
42 | */ |
||
43 | 1 | public function getClientException() |
|
47 | |||
48 | /** |
||
49 | * @param ClientException $clientException |
||
50 | * |
||
51 | * @return $this |
||
52 | */ |
||
53 | 1 | public function setClientException(ClientException $clientException) |
|
59 | } |
||
60 |