RegistrationError

public enum RegistrationError : Error, StringValueConvertible, CustomStringConvertible

Enum describing registration error types

  • Failed to connect to the Gallagher Cloud, encapsulating the internal causing error

    Declaration

    Swift

    case networkFailure(Error)
  • Something is wrong with the Gallagher Cloud. Please log and report this instance to Gallagher.

    Declaration

    Swift

    case invalidResponse(String)
  • The user has cancelled the registration process.

    Declaration

    Swift

    case userCancelledRegistration
  • The invitation has been trashed.

    Declaration

    Swift

    case invitationGone
  • The invitation is no longer available in the Gallagher cloud and it can no longer be registered.

    Declaration

    Swift

    case invitationNotFound
  • Registration requires passcode to be set on the mobile device.

    Declaration

    Swift

    case devicePasscodeNotSet
  • Device doesn’t support bluetooth or fingerprint.

    Declaration

    Swift

    case deviceNotSupported
  • Unexpected error with a message of the internal causing error.

    Declaration

    Swift

    case unexpected(String)
  • Declaration

    Swift

    public var stringValue: String { get }
  • Declaration

    Swift

    public var description: String { get }