SaltoError

public enum SaltoError : Error, Equatable
extension SaltoError : Hashable

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

  • A Salto 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?)
  • A Salto 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 mobileCredentialNotFound(_: MobileCredential)
  • A Salto 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)
  • A Salto Key could not be deleted from the local database You should not see this error during normal operation

    Declaration

    Swift

    case deleteKeyFailed(_: Error)
  • A Salto 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 error occurred fetching Salto Keys from the Gallagher cloud It is normal to see this error if the phone’s internet connection is offline.

    Declaration

    Swift

    case cloudConnectionError(_: Error? = nil)
  • A Salto Key could not be decrypted for use You should not see this error during normal operation

    Declaration

    Swift

    case decryptionError(_: Error)
  • An error was returned by the underlying Salto JustIN Mobile SDK You should not see this error during normal operation

    Declaration

    Swift

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

    Declaration

    Swift

    case unexpected(_: String)
  • 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 }