Skip to main content
Module

x/release_up/deps.ts>Command#error

🌱 Automate releases
Go to Latest
method Command.prototype.error
Re-export
import { Command } from "https://deno.land/x/release_up@0.5.0/deps.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