Search...

populateRatelimitErrorResponse

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