@kkdev92/vscode-ext-kit - v4.1.1
    Preparing search index...

    Class RetryExhaustedError

    Thrown when retry gives up, either because maxAttempts was reached or because retryIf rejected an error.

    Unlike a re-thrown error this keeps the entire attempt history, so a caller can inspect every failure rather than only the last. The triggering error is also available as cause for ordinary error handling.

    Hierarchy

    • Error
      • RetryExhaustedError
    Index
    • Parameters

      • message: string
      • attempts: number
      • history: readonly unknown[]
      • Optionaloptions: { cause?: unknown }

      Returns RetryExhaustedError

    attempts: number

    Attempts made before giving up.

    cause?: unknown
    history: readonly unknown[]

    Every error thrown across all attempts, oldest first.

    message: string
    name: string
    stack?: string