ErrorHandler
ErrorHandler = (
error,where) =>void|Promise<void>
Defined in: types.ts:19
Gets an error from work that runs after Discord has its answer: the work of c.defer(), a gateway
event handler, or a request to Discord that failed. where names the command, event or step.
Parameters
Section titled “Parameters”unknown
string
Returns
Section titled “Returns”void | Promise<void>