diff options
| author | Murilo Ijanc <[email protected]> | 2026-07-26 16:41:48 -0300 |
|---|---|---|
| committer | Murilo Ijanc <[email protected]> | 2026-07-26 16:47:14 -0300 |
| commit | 535dbda6b48171f8115b455e54790de94d97d42a (patch) | |
| tree | 5c0410011e61a883bdf063ee612875a637fb1d22 /lib/cepis/InvalidResponseException.php | |
| download | woocommerce-535dbda6b48171f8115b455e54790de94d97d42a.tar.gz | |
Initial importv0.1.0
Diffstat (limited to 'lib/cepis/InvalidResponseException.php')
| -rw-r--r-- | lib/cepis/InvalidResponseException.php | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/lib/cepis/InvalidResponseException.php b/lib/cepis/InvalidResponseException.php new file mode 100644 index 0000000..ee77984 --- /dev/null +++ b/lib/cepis/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 +{ +} |