Table of Contents

Class RestQueueTimeoutException

Namespace
DisCatSharp.Exceptions
Assembly
DisCatSharp.dll

Thrown when a REST request times out while waiting in a bucket's queue. Carries rich debugging context to help diagnose pressure and hang scenarios.

public sealed class RestQueueTimeoutException : DisCatSharpException, ISerializable
Inheritance
RestQueueTimeoutException
Implements
Inherited Members

Properties

BucketId

Gets the rate-limit bucket identifier.

GlobalGateActive

Gets whether the global rate-limit gate was active (blocking) at the time of timeout.

QueueLength

Gets the number of requests still queued in the bucket when the timeout occurred.

Route

Gets the generic API route (e.g. POST:/channels/channel_id/messages).

WaitedDuration

Gets how long the request waited before the timeout fired.