Skip to main content
Module

x/alfredo/deps.ts>Command#error

Your Alfred workflows on steroids with Deno
Latest
method Command.prototype.error
Re-export
import { Command } from "https://deno.land/x/alfredo@0.4.3/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