Skip to main content
Module

x/drollup/deps.ts>Command#error

Next-generation ES module bundler ported for Deno
Latest
method Command.prototype.error
Re-export
import { Command } from "https://deno.land/x/drollup@2.58.0%2B0.20.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