Error
enum Error
extension Geo.Error: AmplifyError
Geo Error
-
Invalid Configuration.
Declaration
Swift
case invalidConfiguration(ErrorDescription, RecoverySuggestion, _: Swift.Error? = nil)
-
Network Error - Request failed or network unavailable.
Declaration
Swift
case networkError(ErrorDescription, RecoverySuggestion, _: Swift.Error? = nil)
-
Access Denied - request authorization issue
Declaration
Swift
case accessDenied(ErrorDescription, RecoverySuggestion, _: Swift.Error? = nil)
-
Service Error - Service may be down [500, 503]
Declaration
Swift
case serviceError(ErrorDescription, RecoverySuggestion, _: Swift.Error? = nil)
-
Encapsulated error received by a dependent plugin
Declaration
Swift
case pluginError(AmplifyError)
-
Unknown Error
Declaration
Swift
case unknown(ErrorDescription, RecoverySuggestion, _: Swift.Error? = nil)
-
Initializer
Declaration
Swift
public init(errorDescription: ErrorDescription = "An unknown error occurred", recoverySuggestion: RecoverySuggestion = "See `underlyingError` for more details", error: Error)
-
Error Description
Declaration
Swift
public var errorDescription: ErrorDescription { get }
-
Recovery Suggestion
Declaration
Swift
public var recoverySuggestion: RecoverySuggestion { get }
-
Underlying Error
Declaration
Swift
public var underlyingError: Error? { get }