AnalyticsError
public enum AnalyticsError
extension AnalyticsError: AmplifyError
Analytics Error
-
Configuration Error
Declaration
Swift
case configuration(ErrorDescription, RecoverySuggestion, _: Error? = nil)
-
Unknown Error
Declaration
Swift
case unknown(ErrorDescription, _: Error? = nil)
-
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 }
-
Initializer
Declaration
Swift
public init( errorDescription: ErrorDescription = "An unknown error occurred", recoverySuggestion: RecoverySuggestion = "(Ignored)", error: Error )
Parameters
errorDescription
Error Description
recoverySuggestion
Recovery Suggestion
error
Underlying Error