ServiceError
public struct ServiceError : Equatable
-
Declaration
Swift
public static func == (lhs: PredictionsError.ServiceError, rhs: PredictionsError.ServiceError) -> Bool
-
Declaration
Swift
public let description: ErrorDescription
-
Declaration
Swift
public let recoverySuggestion: RecoverySuggestion
-
Declaration
Swift
public let httpStatusCode: Int?
-
Declaration
Swift
public let underlyingError: Error?
-
Declaration
Swift
public init( description: ErrorDescription, recoverySuggestion: RecoverySuggestion, httpStatusCode: Int? = nil, underlyingError: Error? = nil )
-
Declaration
Swift
public static let translationFailed: PredictionsError.ServiceError
-
Declaration
Swift
public static let internalServerError: PredictionsError.ServiceError
-
Declaration
Swift
public static let detectedLanguageLowConfidence: PredictionsError.ServiceError
-
Declaration
Swift
public static let invalidRequest: PredictionsError.ServiceError
-
Declaration
Swift
public static let resourceNotFound: PredictionsError.ServiceError
-
Declaration
Swift
public static let textSizeLimitExceeded: PredictionsError.ServiceError
-
Declaration
Swift
public static let unsupportedLanguagePair: PredictionsError.ServiceError
-
Declaration
Swift
public static let throttling: PredictionsError.ServiceError
-
Declaration
Swift
public static let unsupportedLanguage: PredictionsError.ServiceError
-
Declaration
Swift
public static let invalidSampleRate: PredictionsError.ServiceError
-
Declaration
Swift
public static let accessDenied: PredictionsError.ServiceError