PluginError
public enum PluginError
extension PluginError: AmplifyError
Errors associated with configuring and inspecting Amplify Plugins
-
A plugin is being added to the wrong category
Declaration
Swift
case mismatchedPlugin(ErrorDescription, RecoverySuggestion, _: Error? = nil)
-
The plugin specified by
getPlugin(key)
does not existDeclaration
Swift
case noSuchPlugin(ErrorDescription, RecoverySuggestion, _: Error? = nil)
-
The plugin encountered an error during configuration
Declaration
Swift
case pluginConfigurationError(ErrorDescription, RecoverySuggestion, _: Error? = nil)
-
An unknown error occurred
Declaration
Swift
case unknown(ErrorDescription, RecoverySuggestion, Error?)
-
Declaration
Swift
public var errorDescription: ErrorDescription { get }
-
Declaration
Swift
public var recoverySuggestion: RecoverySuggestion { get }
-
Declaration
Swift
public var underlyingError: Error? { get }
-
Declaration
Swift
public init( errorDescription: ErrorDescription = "An unknown error occurred", recoverySuggestion: RecoverySuggestion = "See `underlyingError` for more details", error: Error )