CoreError
public enum CoreError
extension CoreError: AmplifyError
Errors associated with operations provided by Amplify
- Tag: CoreError
-
A related operation performed on
List
resulted in an error.- Tag: CoreError.listOperation
Declaration
Swift
case listOperation(ErrorDescription, RecoverySuggestion, _: Error? = nil)
-
A client side validation error occured.
- Tag: CoreError.clientValidation
Declaration
Swift
case clientValidation(ErrorDescription, RecoverySuggestion, _: Error? = nil)
-
- Tag: CoreError.errorDescription
Declaration
Swift
public var errorDescription: ErrorDescription { get }
-
- Tag: CoreError.recoverySuggestion
Declaration
Swift
public var recoverySuggestion: RecoverySuggestion { get }
-
- Tag: CoreError.underlyingError
Declaration
Swift
public var underlyingError: Error? { get }
-
- Tag: CoreError.init
Declaration
Swift
public init( errorDescription: ErrorDescription = "An unknown error occurred", recoverySuggestion: RecoverySuggestion = "(Ignored)", error: Error )