diff options
| author | Murilo Ijanc <[email protected]> | 2026-07-26 14:58:55 -0300 |
|---|---|---|
| committer | Murilo Ijanc <[email protected]> | 2026-07-26 14:58:55 -0300 |
| commit | 64764fb9fac0227f8e0443e7c7519d73aec275b9 (patch) | |
| tree | cb4fc56eeb6ecce53854f9c530609cf01ab3349f /src/InvalidResponseException.php | |
| download | php-1fd1470890518a68130b3b9058fe1bebddca9f07.tar.gz | |
Initial importv0.1.0
Diffstat (limited to 'src/InvalidResponseException.php')
| -rw-r--r-- | src/InvalidResponseException.php | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/InvalidResponseException.php b/src/InvalidResponseException.php new file mode 100644 index 0000000..ee77984 --- /dev/null +++ b/src/InvalidResponseException.php @@ -0,0 +1,16 @@ +<?php + +declare(strict_types=1); + +namespace Cepis; + +/** + * A success status came back with a body that cannot be parsed. + * + * In practice this means something between you and the API is answering + * instead of it — a captive Wi-Fi portal, a corporate proxy, an HTML error + * page. Useful as a diagnosis: the problem is not in your code. + */ +final class InvalidResponseException extends \RuntimeException implements CepisException +{ +} |