Package-level declarations
Exception hierarchy for handling Volvo API errors with typed exceptions for rate limiting (429), authentication (401), permissions (403), invalid requests (400/404/409/415), and server errors (5xx).
Types
Exception thrown when the access token is invalid or expired (HTTP 401).
Exception thrown for network I/O errors other than timeouts.
Exception thrown for invalid or malformed API requests (HTTP 400, 404, 409, 415).
Exception thrown when the API key lacks required permissions (HTTP 403).
Exception thrown when the API rate limit is exceeded (HTTP 429).
Exception thrown for API errors not covered by other exception types.
Represents an error response from the Volvo API.
Exception thrown when the Volvo API returns an HTTP error response.
Base exception for all Volvo API client errors.
Exception thrown when the Ktor HTTP client encounters a runtime error.
Exception thrown when a network or I/O error occurs during an API request.
Exception thrown when the Volvo API returns a server error (HTTP 5xx).
Exception thrown when an HTTP request times out.