ErrorCode

@frozen
public enum ErrorCode : UInt8, Error

Indicates an error code received from a wearable device.

  • The specified request is not the correct length.

    Declaration

    Swift

    case invalidRequestLength = 128
  • The requested sample period is not valid.

    Declaration

    Swift

    case invalidSamplePeriod = 129
  • The requested sensor configuration is not valid.

    Declaration

    Swift

    case invalidSensorConfiguration = 130
  • The requested configuration exceeds the maximum available throughput.

    Declaration

    Swift

    case configExceedsMaxThroughput = 131
  • The wearable sensor service is currently unavailable.

    Declaration

    Swift

    case wearableSensorServiceUnavailable = 132
  • The specified sensor is invalid.

    Declaration

    Swift

    case invalidSensor = 133
  • The operation timed out.

    Declaration

    Swift

    case timeout = 134
  • Declaration

    Swift

    public var errorDescription: String? { get }