Class AIRateLimitException
- Namespace
- IntentSharp.Providers
- Assembly
- IntentSharp.dll
HTTP 429 from the provider, or the local rate limiter refused the request.
public class AIRateLimitException : AIProviderException, ISerializable
- Inheritance
-
objectExceptionAIRateLimitException
- Implements
-
ISerializable
- Inherited Members
-
Exception.GetBaseException()Exception.GetType()Exception.ToString()Exception.DataException.HelpLinkException.HResultException.InnerExceptionException.MessageException.SourceException.StackTraceException.TargetSiteException.SerializeObjectStateobject.Equals(object)object.Equals(object, object)object.GetHashCode()object.MemberwiseClone()object.ReferenceEquals(object, object)
- Extension Methods
Constructors
- AIRateLimitException(string, Exception, TimeSpan?, string?)
Creates a transient exception with status 429 and the exception that caused it.
- AIRateLimitException(string, TimeSpan?, string?)
Creates a transient exception with status 429.
Properties
- RetryAfter
How long to wait before trying again, when the provider or the local rate limiter said; otherwise null.