Skip to main content
Module

x/harmony/mod.ts>Command#onError

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

Method called when the command errors

Parameters

error: Error

Returns

unknown | Promise<unknown>