type alias ToolFailure

A deno subprocess that did not produce usable output.

Properties

ok: false

Discriminant: this outcome carries no result.

Which environmental condition stopped the tool.

specifier: string

The specifier discovery was asked about.

command: string[]

The argument vector, for a reproducible line in an error message.

optional
code: number

Exit status, absent when the process never started.

stderr: string

The subprocess's stderr, or the message of the error that replaced it.

Usage

import { type ToolFailure } from "mod.ts";