| 1 | <?php |
||
| 12 | final class ClientException extends RuntimeException implements Exception |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * @var Throwable[] |
||
| 16 | */ |
||
| 17 | private $exceptionList = []; |
||
| 18 | |||
| 19 | 3 | public static function fromResponse(string $message, ResponseInterface $response): self |
|
| 23 | |||
| 24 | 3 | public static function fromException(string $message, Throwable ...$exception): self |
|
| 35 | |||
| 36 | /** |
||
| 37 | * @return Throwable[] |
||
| 38 | */ |
||
| 39 | 1 | public function getExceptionList(): array |
|
| 43 | } |
||
| 44 |