DeviceProtocolError
@frozen
public enum DeviceProtocolError : Error
Indicates a failure occurred while communicating with the remote device.
-
The operation failed with the specified error code.
Declaration
Swift
case errorCode(DeviceProtocolErrorCode)
-
The operation failed with an unrecognized error code.
Declaration
Swift
case unrecognizedErrorCode(UInt8)
-
The operation failed with an error code that is specific to the function being called.
Declaration
Swift
case functionBlockSpecificErrorCode(UInt8)
-
An unexpected response was received.
Declaration
Swift
case receivedUnexpectedResponse
-
A malformed response was received.
Declaration
Swift
case receivedMalformedResponse
-
Declaration
Swift
public var errorDescription: String? { get }