Table of Contents

Class RestRateLimitedException

Namespace
NetCord.Rest
Assembly
NetCord.dll
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 Route
retryAfter int
scope RateLimitScope

Properties

ResetAfter

The time in milliseconds after which the request can be retried.

public int ResetAfter { get; }

Property Value

int

Route

The route that was rate limited.

public Route Route { get; }

Property Value

Route

Scope

The scope of the rate limit that was exceeded.

public RateLimitScope Scope { get; }

Property Value

RateLimitScope