Module

x/nessie/deps.ts>CliffyCommand#throw

A modular Deno library for PostgreSQL, MySQL, MariaDB and SQLite migrations
Go to Latest
method CliffyCommand.prototype.throw
import { CliffyCommand } from "https://dotland.deno.dev/x/nessie@2.0.9/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

never