Skip to content

RetryErrorReason

Namespace: Vercel.AI.ProviderUtils

public enum RetryErrorReason

Why RetryException was thrown.

View source

ErrorNotRetryable = 1

A later attempt failed with an error that must not be retried.

Value: RetryErrorReason

View source

MaxRetriesExceeded = 0

The retry budget was used up.

Value: RetryErrorReason

View source

Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product