Skip to main content
Module

x/proc/mod3.ts>ExitCodeError

A high-level way to run child processes that is easy, flexible, powerful, and prevents resource leaks.
Go to Latest
class ExitCodeError
extends ProcessError
import { ExitCodeError } from "https://deno.land/x/proc@0.20.24/mod3.ts";

Thrown because the process returned an exit code that indicates an error occurred. By default, this indicates a non-zero exit code but may be overridden.

Constructors

new
ExitCodeError(
message: string,
command: string[],
code: number,
options?: { cause?: Error; },
)