Skip to main content
Module

x/cliffy/command/command.ts>Command#error

Command line framework for deno 🦕 Including Commandline-Interfaces, Prompts, CLI-Table, Arguments Parser and more...
Extremely Popular
Latest
method Command.prototype.error
import { Command } from "https://deno.land/x/cliffy@v1.0.0-rc.4/command/command.ts";

Set custom error handler.

Parameters

handler: ErrorHandler

Error handler callback function.