Skip to content

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.

unknown

string

void | Promise<void>