Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/harmony/src/commands/command.ts>Command#onError

An easy to use Discord API Library for Deno.
Latest
method Command.prototype.onError
import { Command } from "https://deno.land/x/harmony@v2.9.1/src/commands/command.ts";

Method called when the command errors

Parameters

error: Error

Returns

unknown | Promise<unknown>