Skip to main content
Module

x/scaffold/src/deps/cli.ts>Command#error

scaffold your next project with style and 💗
Latest
method Command.prototype.error
Re-export
import { Command } from "https://deno.land/x/scaffold@0.3.0/src/deps/cli.ts";

Handle error. If throwErrors is enabled the error will be returned, otherwise a formatted error message will be printed and Deno.exit(1) will be called.

Parameters

error: Error

Error to handle.

Returns

Error