AperioError

public enum AperioError : Error, Equatable
extension AperioError : Hashable

Represents Errors that can occur within the Aperio Integration part of the Mobile Connect SDK

  • An Aperio Key update was received from the Gallagher cloud, but could not be deserialized. You should not see this error during normal operation

    Declaration

    Swift

    case deserializationError(_: String?)
  • An Aperio Key update was received from the Gallagher cloud, but an associated mobile credential could not be found. You should not see this error during normal operation

    Declaration

    Swift

    case mobileCredentialNotFound(_: MobileCredential)
  • An Aperio Key update was received from the Gallagher cloud, but could not be added to the local database You should not see this error during normal operation

    Declaration

    Swift

    case addKeyFailed(_: Error)
  • An Aperio Key could not be deleted from the local database You should not see this error during normal operation

    Declaration

    Swift

    case deleteKeyFailed(_: Error)
  • An Aperio Key could not be loaded from the local database You should not see this error during normal operation

    Declaration

    Swift

    case getKeysFailed(_: Error? = nil, message: String? = nil)
  • An Aperio Key contains the wrong data format You should not see this error during normal operation

    Declaration

    Swift

    case keyFormatError(_: String?)
  • An Aperio Key could not be decrypted for use You should not see this error during normal operation

    Declaration

    Swift

    case decryptionError(_: Error)
  • An unexpected error occurred You should not see this error during normal operation

    Declaration

    Swift

    case unexpected(_: String)