Class RestRateLimitedException
public class RestRateLimitedException : Exception, ISerializable
- Inheritance
-
RestRateLimitedException
- Implements
- Inherited Members
Constructors
RestRateLimitedException(Route, int, RateLimitScope)
public RestRateLimitedException(Route route, int retryAfter, RateLimitScope scope)
Parameters
route
RouteretryAfter
intscope
RateLimitScope
Properties
ResetAfter
The time in milliseconds after which the request can be retried.
public int ResetAfter { get; }
Property Value
Route
The route that was rate limited.
public Route Route { get; }
Property Value
Scope
The scope of the rate limit that was exceeded.
public RateLimitScope Scope { get; }