Skip to main content
←API Reference ←NSDK ←MeshDownloaderResults

Error

Possible errors from Mesh Downloader network operations.

Declaration​

enum Error

Cases​

NameTypeSummary
case curlClientErrorcurlClientError
There was a network error on the device.
case httpResponseErrorhttpResponseError
There was an error in the HTTP response.
case internalErrorinternalError
An unexpected error occurred.
case invalidPayloadinvalidPayload
The payload used to request the mesh download was invalid
case sizeExceedsLimitsizeExceedsLimit
A single mesh's size exceeds the per-mesh limit in a oneshot location mesh request;
no data was fetched for that mesh.
case sizeLimitReachedsizeLimitReached
The cumulative download size cap was hit. All chunks downloaded before the cap was
reached were delivered; no further chunks will arrive.
case unexpectedResponseunexpectedResponse
Downloaded data could not be decompressed or parsed.

Properties​

NameTypeSummary
var localizedDescriptionString
Retrieve the localized description for this error.

Operators​

NameTypeSummary
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 != b
implies 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