SuggestApiError

public enum SuggestApiError
extension SuggestApiError: Equatable, Hashable
extension SuggestApiError: Foundation.LocalizedError

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 }