Skip to main content
Module

x/cliffy/command.ts>BaseCommand#throwErrors

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

Throw error's instead of calling Deno.exit() to handle error's manually. This has no effect for parent commands. Only for the command on which this method was called and all child commands.