|
|
| __construct (string $message, private readonly int $httpStatus, private readonly ?string $connectCode=null, ?\Throwable $previous=null,) |
| |
|
| httpStatus () |
| |
|
| connectCode () |
| |
Thrown when OliveTin returns a non-success HTTP status or malformed JSON.
◆ fromHttpResponse()
| static OliveTin::Api::OliveTinApiException::fromHttpResponse |
( |
int | $httpStatus, |
|
|
?array | $decoded, |
|
|
string | $rawBody ) |
|
static |
- Parameters
-
| array<string,mixed>|null | $decoded |
The documentation for this class was generated from the following file:
- src/OliveTinApiException.php