ConfigurationError
public enum ConfigurationError
extension ConfigurationError: AmplifyError
Errors associated with configuring and inspecting Amplify Categories
See: Amplify.configure
- Tag: ConfigurationError
-
The client issued a subsequent call to
Amplify.configure
after the first had already succeeded- Tag: ConfigurationError.amplifyAlreadyConfigured
Declaration
Swift
case amplifyAlreadyConfigured(ErrorDescription, RecoverySuggestion, _: Error? = nil)
-
The specified
amplifyconfiguration.json
file was not present or unreadable- Tag: ConfigurationError.invalidAmplifyConfigurationFile
Declaration
Swift
case invalidAmplifyConfigurationFile(ErrorDescription, RecoverySuggestion, _: Error? = nil)
-
The specified
amplify_outputs.json
file was not present or unreadable- Tag: ConfigurationError.invalidAmplifyOutputsFile
Declaration
Swift
case invalidAmplifyOutputsFile(ErrorDescription, RecoverySuggestion, _: Error? = nil)
-
Unable to decode
amplifyconfiguration.json
into a valid AmplifyConfiguration object- Tag: ConfigurationError.unableToDecode
Declaration
Swift
case unableToDecode(ErrorDescription, RecoverySuggestion, _: Error? = nil)
-
An unknown error occurred
- Tag: ConfigurationError.unknown
Declaration
Swift
case unknown(ErrorDescription, RecoverySuggestion, Error?)
-
- Tag: ConfigurationError.errorDescription
Declaration
Swift
public var errorDescription: ErrorDescription { get }
-
- Tag: ConfigurationError.recoverySuggestion
Declaration
Swift
public var recoverySuggestion: RecoverySuggestion { get }
-
- Tag: ConfigurationError.underlyingError
Declaration
Swift
public var underlyingError: Error? { get }
-
- Tag: ConfigurationError.init
Declaration
Swift
public init( errorDescription: ErrorDescription = "An unknown error occurred", recoverySuggestion: RecoverySuggestion = "See `underlyingError` for more details", error: Error )