| 1 | <?php |
||
| 7 | final class IsmpRequestErrorException extends \RuntimeException implements IsmpClientExceptionInterface |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * @var string |
||
| 11 | */ |
||
| 12 | private $response; |
||
| 13 | /** |
||
| 14 | * @var int |
||
| 15 | */ |
||
| 16 | private $responseCode; |
||
| 17 | |||
| 18 | public static function becauseOfErrorResponse(int $responseCode, string $response, \Throwable $exception): self |
||
| 30 | |||
| 31 | public function getResponse(): string |
||
| 35 | |||
| 36 | public function getResponseCode(): int |
||
| 40 | } |
||
| 41 |