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

x/drake/lib/utils.ts>abort

Drake is a make-like task runner for Deno.
Latest
function abort
import { abort } from "https://deno.land/x/drake@v1.7.0/lib/utils.ts";

Write an error message to to stderr and terminate execution.

  • If the "--abort-exits" environment option is false throw a DrakeError.
  • If the "--debug" environment option is true include the stack trace in the error message.

Parameters

message: string

Returns

never