SuggestApiError
public enum SuggestApiError : Swift.Error, Equatable, Hashable, Foundation.LocalizedError
extension SuggestApiError: Sendable
The error type for all Suggest component operations. These errors are exposed to your application, which should handle them as needed.
-
Declaration
Swift
case Network(reason: String ) -
The server requested a backoff after too many requests
Declaration
Swift
case Backoff(seconds: UInt64 ) -
An operation was interrupted by calling
SuggestStore.interrupt()Declaration
Swift
case Interrupted -
Declaration
Swift
case Other(reason: String ) -
Declaration
Swift
public var errorDescription: String? { get }