MTOfflinePackError
public enum MTOfflinePackError : LocalizedError, Equatable
Errors that can occur during the offline pack download process.
-
The bounding box has invalid coordinates.
Declaration
Swift
case invalidBoundingBox -
The provided zoom range is invalid (e.g., min > max, or out of bounds).
Declaration
Swift
case invalidZoomRange -
The style definition could not be resolved or downloaded.
Declaration
Swift
case styleResolutionFailed -
A network error occurred while planning.
Declaration
Swift
case networkError(Error) -
The region exceeds the allowed tile count or storage limits.
Declaration
Swift
case regionTooLarge -
The functionality is not yet implemented.
Declaration
Swift
case notImplemented -
The API key is missing from the configuration.
Declaration
Swift
case missingAPIKey -
The request was unauthorized (check your API key).
Declaration
Swift
case unauthorized -
The requested resource (style, tile, etc.) was not found.
Declaration
Swift
case resourceNotFound -
The API rate limit has been exceeded.
Declaration
Swift
case rateLimitExceeded -
An unexpected server-side error occurred.
Declaration
Swift
case serverError(statusCode: Int) -
The received data size does not match the expected size from the Content-Length header.
Declaration
Swift
case sizeMismatch(expected: Int64, actual: Int64) -
Declaration
Swift
public var errorDescription: String? { get } -
Declaration
Swift
public static func == (lhs: MTOfflinePackError, rhs: MTOfflinePackError) -> Bool