ENUM
VpsCoverageResult.Error
enum Error: Swift.Error
Network request errors that can occur during VPS coverage operations.
VpsCoverageNetworkRequestError provides detailed error information for
network-related issues when querying VPS coverage data from the server.
Overview
These errors help diagnose network connectivity issues, server problems, and request validation failures when accessing VPS coverage services.
Cases
curlClientError
case curlClientError
Client-side network error (e.g., connection failure, timeout).
This indicates a problem with the network connection or client-side networking stack, such as DNS resolution failure or connection timeout.
httpForbidden
case httpForbidden
HTTP 403 Forbidden - access denied.
The API key lacks permission to access the requested resource or the request is not authorized.
httpNotFound
case httpNotFound
HTTP 404 Not Found - requested resource not found.
The requested VPS coverage data or area does not exist.
httpTooManyRequests
case httpTooManyRequests
HTTP 429 Too Many Requests - rate limit exceeded.
The request rate has exceeded the allowed limits. Implement exponential backoff and retry later.
invalidRequest
case invalidRequest
Invalid request format or parameters.
The request was rejected due to invalid format or parameters before reaching the server.
tooManyEntitiesRequested
case tooManyEntitiesRequested
Too many entities requested in a single query.
The request attempted to query more entities than allowed in a single operation.
internalServerError
case internalServerError
HTTP 500 Internal Server Error - server-side error.
An unexpected error occurred on the server side. This is typically a temporary issue.
unexpectedResponse
case unexpectedResponse
Unexpected or unrecognized response from server.
The server returned a response that could not be processed or was in an unexpected format.
internalError
case internalError
An unexpected error occurred.