HubError
public enum HubError
extension HubError: AmplifyError
Errors associated with configuring and inspecting Amplify Categories
-
Declaration
Swift
case configuration(ErrorDescription, RecoverySuggestion, _: Error? = nil)
-
Declaration
Swift
case unknownError(ErrorDescription, RecoverySuggestion, _: Error? = nil)
-
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 )