Error
Possible errors from Mesh Downloader network operations.
Declaration
enum ErrorCases
| Name | Type | Summary |
|---|---|---|
| case curlClientError | curlClientError | There was a network error on the device. |
| case httpResponseError | httpResponseError | There was an error in the HTTP response. Note: See logs for the specific HTTP response code. |
| case internalError | internalError | An unexpected error occurred. |
| case invalidPayload | invalidPayload | The payload used to request the mesh download was invalid |
| case sizeExceedsLimit | sizeExceedsLimit | A single mesh's size exceeds the per-mesh limit in a oneshot location mesh request; no data was fetched for that mesh. Note: This is distinct from sizeLimitReached, which is the cumulative cap for streaming portal mesh requests. |
| case sizeLimitReached | sizeLimitReached | The cumulative download size cap was hit. All chunks downloaded before the cap was reached were delivered; no further chunks will arrive. |
| case unexpectedResponse | unexpectedResponse | Downloaded data could not be decompressed or parsed. |
Properties
| Name | Type | Summary |
|---|---|---|
| var localizedDescription | String | Retrieve the localized description for this error. |
Operators
| Name | Type | Summary |
|---|---|---|
| static func != | Bool | Returns a Boolean value indicating whether two values are not equal. Inequality is the inverse of equality. For any values a and b, a != bimplies that a == b is false.This is the default implementation of the not-equal-to operator ( !=)for any type that conforms to Equatable. |
Relationships
conforms to: Swift.Equatable
conforms to: Swift.Hashable
conforms to: Swift.Error
conforms to: Swift.Sendable
conforms to: Swift.SendableMetatype