populateRatelimitErrorResponse

export declare function populateRatelimitErrorResponse(res: ServerResponse, error: RateLimitError): void;
export declare function populateRatelimitErrorResponse(res: ServerResponse, error: RateLimitError): void;
Populates a server response with the data from a Discord 429 REST response
NameTypeOptionalDescription
resServerResponseNo
The server response to populate
errorRateLimitErrorNo
The error to populate the response with