WalletUpdateError
public enum WalletUpdateError : Error, Equatable, Hashable
Errors that can occur when working with Wallet updates
-
Encountered Invalid Wallet data that could not be deserialized
Declaration
Swift
case deserializationError(_: String?)
-
Feature not supported by the Gallagher cloud
Declaration
Swift
case featureNotSupported(_: String? = nil)
-
Failed to add the Wallet to the local Sqlite database
Declaration
Swift
case addWalletFailed(_: Error)
-
Failed to delete the Wallet from the local Sqlite database
Declaration
Swift
case deleteWalletFailed(_: Error)
-
Failed to read Wallet 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 Wallet data that could not be decrypted
Declaration
Swift
case decryptionError(_: Error)
-
Encountered invalid prepare provisioning error from the Gallagher cloud
Declaration
Swift
case prepareProvisioningError(_: String, code: WalletPrepareProvisioningErrorCode)
-
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 }