Class RateLimitException
HTTP 429: the rate limit was exceeded.
public class RateLimitException : ApiException, ISerializable
- Inheritance
-
RateLimitException
- Implements
- Inherited Members
Constructors
RateLimitException(HttpStatusCode, object?, HttpResponseHeaders, string?)
Create an API error from a completed HTTP response.
public RateLimitException(HttpStatusCode statusCode, object? body, HttpResponseHeaders headers, string? message = null)
Parameters
statusCodeHttpStatusCodebodyobjectheadersHttpResponseHeadersmessagestring
Properties
RetryAfterMs
Server retry delay in milliseconds, or null when absent or invalid.
public int? RetryAfterMs { get; }
Property Value
- int?