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 | The total download size exceeds the limit specified in the request. |
| 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.- 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