DigitalIdError

public enum DigitalIdError : Error, Equatable, Hashable

Errors that can occur when working with digital ID’s

  • Encountered Invalid Digital ID data that could not be deserialized

    Declaration

    Swift

    case deserializationError(_: String?)
  • Failed to add the Digital ID to the local Sqlite database

    Declaration

    Swift

    case addIdFailed(_: Error)
  • Failed to delete the Digital ID from the local Sqlite database

    Declaration

    Swift

    case deleteIdFailed(_: Error)
  • Failed to read Digital ID data from the local Sqlite database

    Declaration

    Swift

    case databaseLoadError(_: Error)
  • Failed to connect to the Gallagher cloud

    Declaration

    Swift

    case cloudConnectionError(_: Error? = nil)
  • Encountered Invalid Digital ID data that could not be decrypted

    Declaration

    Swift

    case decryptionError(_: Error)
  • Unexpected error

    Declaration

    Swift

    case unexpected(_: Error)
  • Utility property to easily check if this is a Cloud Connection Error, or some other kind of error

    Declaration

    Swift

    public var isCloudConnectionError: Bool { get }