Represents the error thrown when the gateway emits a
RATE_LIMITED event after a certain request.Extends
ErrorConstructs a new instance of the
GatewayRateLimitError class| Name | Type | Optional | Description |
|---|---|---|---|
| data | GatewayRateLimitedDispatchData<keyof GatewayOpcodeRateLimitMetadataMap> | No | None |
| payload | unknown | No | None |