Skip to main content
Module

x/drake/lib.ts>abort

Drake is a make-like task runner for Deno.
Go to Latest
function abort
import { abort } from "https://deno.land/x/drake@v1.6.0/lib.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