Exceptions¶
| Exception | Meaning |
|---|---|
OkatanaConfigurationException |
invalid or missing client configuration |
OkatanaRequestValidationException |
request violates a locally known contract constraint |
OkatanaTransportException |
I/O failure or interruption |
OkatanaUnexpectedResponseException |
a successful response does not match the expected envelope/paginator shape |
OkatanaAuthenticationException |
HTTP 401 |
OkatanaAuthorizationException |
HTTP 403 |
OkatanaNotFoundException |
HTTP 404 |
OkatanaValidationException |
HTTP 422 |
OkatanaRateLimitException |
HTTP 429 |
OkatanaApiException |
other non-2xx response |
OkatanaApiException retains the method, URI, HTTP status, headers, and parsed body. OkatanaValidationException adds Laravel field errors. OkatanaRateLimitException adds optional parsed Retry-After duration.