GormssonError

public enum GormssonError : Error

An enum representing all Gormsson’s error that can be thrown.

  • The value was uncastable to expected type (removed error).

    Declaration

    Swift

    case uncastableValue
  • The write request has no value (shouldn’t happens).

    Declaration

    Swift

    case missingValue
  • The manager’s state got a BLE shutdown, you should restart it.

    Declaration

    Swift

    case powerOff
  • The current device was disconnected or lost the BLE connection.

    Declaration

    Swift

    case deviceUnconnected
  • The characteristic is not present on the peripheral (or not yet initialized).

    Declaration

    Swift

    case characteristicNotFound
  • The manager accept only one notify per characteristic.

    Declaration

    Swift

    case alreadyNotifying