API Core - v2.4.1
    Preparing search index...

    Function isTransientFailure

    • The transient set a read is retried on: a transient HTTP status (isTransientServerError) or a network failure (isTransientNetworkFailure). Only ever applied to idempotent reads, where re-sending is safe whatever stage the exchange died at.

      Parameters

      • error: unknown

        The rejection reason thrown by an HTTP call.

      Returns boolean

      Whether a retry can plausibly succeed.