Service-level errors from LLM providers
Value parameters
- retryAfter
-
the delay the provider asked for before retrying (an HTTP
Retry-Afterheader, usually on a 503), if it gave one
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
trait RecoverableErrortrait LLMErrortrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Members list
Value members
Concrete methods
Whether httpStatus is one a retry may fix: 5xx, 429 and 408 - the status check of RetryPolicy.isRetryableStatus. The error itself is always a RecoverableError; this says whether this particular status is.
Whether httpStatus is one a retry may fix: 5xx, 429 and 408 - the status check of RetryPolicy.isRetryableStatus. The error itself is always a RecoverableError; this says whether this particular status is.
Attributes
This error, carrying the delay the provider asked for before retrying.
This error, carrying the delay the provider asked for before retrying.
Attributes
Inherited methods
Error correlation IDs for debugging
Formatted error message with context
Maximum number of retry attempts recommended.
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product
Concrete fields
Optional error code for programmatic handling
Optional error code for programmatic handling
Attributes
Additional context information
Additional context information
Attributes
The provider's retryAfter hint when it gave one, else ServiceError.DefaultRetryDelay.