DataStoreError
public enum DataStoreError : Error
extension DataStoreError: AmplifyError
-
Declaration
Swift
case api(AmplifyError, _: MutationEvent? = nil)
-
Declaration
Swift
case configuration(ErrorDescription, RecoverySuggestion, _: Error? = nil)
-
Declaration
Swift
case conflict(DataStoreSyncConflict)
-
Declaration
Swift
case invalidCondition(ErrorDescription, RecoverySuggestion, _: Error? = nil)
-
Declaration
Swift
case decodingError(ErrorDescription, RecoverySuggestion)
-
Declaration
Swift
case internalOperation(ErrorDescription, RecoverySuggestion, _: Error? = nil)
-
Declaration
Swift
case invalidDatabase(path: String, _: Error? = nil)
-
Declaration
Swift
case invalidModelName(String)
-
Declaration
Swift
case invalidOperation(causedBy: Error? = nil)
-
Declaration
Swift
case nonUniqueResult(model: String, count: Int)
-
Declaration
Swift
case sync(ErrorDescription, RecoverySuggestion, _: Error? = nil)
-
Declaration
Swift
case unknown(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 )
-
Declaration
Swift
public static func invalidDateFormat(_ value: String) -> DataStoreError