Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/actionify/src/deps/cli.ts>Command#throw

Create and manage your GitHub workflows with TypeScript and Deno.
Latest
method Command.prototype.throw
Re-export
import { Command } from "https://deno.land/x/actionify@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

never