PredictionsError
public enum PredictionsError
extension PredictionsError: AmplifyError
Error occured while using Prediction category
-
Access denied while executing the operation
Declaration
Swift
case client(ClientError)
-
Declaration
Swift
case service(ServiceError)
-
Declaration
Swift
case unknown(ErrorDescription, RecoverySuggestion, _: Error? = nil)
-
Declaration
Swift
public struct ClientError : Equatable
-
Declaration
Swift
public struct ServiceError : Equatable
-
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 )