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.
- Note: See logs for the specific HTTP response code.
case internalErrorinternalError
An unexpected error occurred.
case invalidPayloadinvalidPayload
The payload used to request the mesh download was invalid
case sizeExceedsLimitsizeExceedsLimit
The total download size exceeds the limit specified in the request.
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.
- Parameters:
- lhs: A value to compare.
- rhs: Another value to compare.

Relationships

conforms to: Swift.Hashable
conforms to: Swift.Equatable
conforms to: Swift.Sendable
conforms to: Swift.Error