summaryrefslogtreecommitdiffstats
path: root/src/InvalidResponseException.php
blob: ee77984842415acb266f18d93574a3fc1bc240b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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
{
}