Discore
Show / Hide Table of Contents

Class DiscordHttpRateLimitException

An exception representing a 429 error sent by the Discord HTTP API.

Inheritance
object
Exception
DiscordHttpApiException
DiscordHttpRateLimitException
Implements
ISerializable
Inherited Members
DiscordHttpApiException.ErrorCode
DiscordHttpApiException.HttpStatusCode
DiscordHttpApiException.Errors
Exception.GetBaseException()
Exception.GetObjectData(SerializationInfo, StreamingContext)
Exception.GetType()
Exception.ToString()
Exception.Data
Exception.HelpLink
Exception.HResult
Exception.InnerException
Exception.Message
Exception.Source
Exception.StackTrace
Exception.TargetSite
Exception.SerializeObjectState
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
Namespace: Discore.Http
Assembly: Discore.dll
Syntax
public class DiscordHttpRateLimitException : DiscordHttpApiException, ISerializable

Properties

Name Description
Bucket

If set, a unique string denoting the rate limit being encountered.

Note: Only set if not a global rate limit.

IsGlobal

Whether this is a global rate limit.

Limit

The maximum number of requests that can be made between rate limit resets. This is the request count that was exceeded.

Note: Only set if not a global rate limit.

Reset

Epoch time (seconds since 00:00:00 UTC on January 1, 1970) at which the rate limit resets.

Note: Only set if not a global rate limit.

RetryAfter

The time in seconds that needs to be waited before sending another request.

  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX