Skip to main content
Module

x/cliffy/mod.ts>Command#error

Command line framework for deno 🦕 Including Commandline-Interfaces, Prompts, CLI-Table, Arguments Parser and more...
Extremely Popular
Go to Latest
method Command.prototype.error
Re-export
import { Command } from "https://deno.land/x/cliffy@v0.15.0/mod.ts";

Handle error. If .throwErrors() was called all error's will be thrown, otherwise Deno.exit(1) will be called.

Parameters

error: Error

Error to handle.

optional
showHelp = [UNSUPPORTED]

Show help.

Returns

Error