DeviceProtocolErrorCode

@frozen
public enum DeviceProtocolErrorCode : UInt8

Error response codes.

  • Invalid length.

    Declaration

    Swift

    case length = 1
  • Invalid checksum.

    Declaration

    Swift

    case checksum = 2
  • FBlock not supported.

    Declaration

    Swift

    case fBlockNotSupported = 3
  • Function not supported.

    Declaration

    Swift

    case functionNotSupported = 4
  • Operator is not supported for that function.

    Declaration

    Swift

    case operatorNotSupported = 5
  • Data values sent to remote device are incorrect.

    Declaration

    Swift

    case invalidData = 6
  • Requested data is not available.

    Declaration

    Swift

    case dataNotAvailable = 7
  • Failure to read/write the information requested that is temporary.

    Declaration

    Swift

    case runTime = 8
  • Timeout related errors.

    Declaration

    Swift

    case timeout = 9
  • Action requested is not applicable to the current state.

    Declaration

    Swift

    case invalidState = 10
  • Error code is function-block specific. This value is only used internally.

    Declaration

    Swift

    case functionBlockSpecificError = 255
  • Declaration

    Swift

    public var description: String { get }