BoseWearableError

@frozen
public enum BoseWearableError : Error

Unified error type for the BoseWearable SDK.

  • Indicates an error code received from a wearable device.

    See more

    Declaration

    Swift

    @frozen
    public enum ErrorCode : UInt8, Error
  • Indicates an error response was received from a wearable device.

    Declaration

    Swift

    case wearableDeviceError(code: ErrorCode, underlyingError: Error)
  • Indicates an invalid response was received from a wearable device.

    Declaration

    Swift

    case invalidResponse
  • Indicates the device requires a firmware update to enable its usage.

    Declaration

    Swift

    case firmwareUpdateRequired(FirmwareUpdateApp)
  • Indicates the device is not supported

    Declaration

    Swift

    case unsupportedDevice
  • Indicates that the service failed to start because a required characteristic was not available.

    Declaration

    Swift

    case missingRequiredCharacteristic(CBUUID)
  • Indicates that the connection task failed because it is already running.

    Declaration

    Swift

    case connectionTaskAlreadyInProgress
  • Indicates that the requested function is not supported by the remote device.

    Declaration

    Swift

    case functionNotSupported
  • Indicates that an operation failed because required data is not present. Indicates an internal state error.

    Declaration

    Swift

    case missingRequiredData
  • Indicates that the device has an unrecognized product identifier.

    Declaration

    Swift

    case unrecognizedProductID(UInt16)
  • Indicates that the specified intents are not fulfilled due to the the associated unavailable sensors, sample periods, and gestures.

    Declaration

    Swift

    case intentsNotFulfilled(sensors: Set<SensorType>, samplePeriods: Set<SamplePeriod>, gestures: Set<GestureType>)
  • Declaration

    Swift

    public var errorDescription: String? { get }