CloudNetworkConnectionError
public enum CloudNetworkConnectionError : Error, Equatable, LocalizedError, StringValueConvertible
Errors that can happen when the SDK connects to the cloud
-
The response indicates that the specified Mobile Credential was unable to be found remotely
Declaration
Swift
case mobileCredentialNotFound -
The session response indicates that notifications are not available for the related Mobile Credential
Declaration
Swift
case notificationsUnavailable -
If two-factor FIDO authentication was required, the user cancelled the FIDO authentication fingerprint/PIN step
Declaration
Swift
case authenticationCancelled -
Cannot reach the Gallagher cloud (i.e. WiFi offline, request timeout)
Declaration
Swift
case networkFailure(Error) -
Unexpected HTTP status code returned when connecting to the cloud
Declaration
Swift
case unexpectedStatusCode(Int) -
Declaration
Swift
public var stringValue: String { get } -
Declaration
Swift
public var errorDescription: String? { get }
CloudNetworkConnectionError Enumeration Reference