function populateRatelimitErrorResponse

export declare function populateRatelimitErrorResponse(res: ServerResponse, error: RateLimitError): void;

Populates a server response with the data from a Discord 429 REST response

Parameters

res: ServerResponse
The server response to populate
error: RateLimitError
The error to populate the response with