You are reading the documentation for the
next
version of discord.js. Documentation for v13/v14+ has been moved to
old.discordjs.dev
/
docs
/
packages
/
proxy
/
main
/
populateAbortErrorResponse%3AFunction
Search...
K
proxy
discord.js
brokers
builders
collection
core
formatters
next
proxy
rest
util
voice
ws
main
main
Functions
populateAbortErrorResponse
populateErrorResponse
populateGeneralErrorResponse
populateRatelimitErrorResponse
populateSuccessfulResponse
proxyRequests
Types
RequestHandler
populateAbortErrorResponse
export declare function
populateAbortErrorResponse
(
res
:
ServerResponse
)
:
void
;
export declare function
populateAbortErrorResponse
(res
:
ServerResponse
)
:
void
;
Summary
Populates a server response with data relevant for a timeout
Parameters
Name
Type
Optional
Description
res
ServerResponse
No
The sever response to populate