Skip to main content
Module

x/proc/mod3.ts>ExitCodeError

A better way to work with processes in Deno.
Go to Latest
class ExitCodeError
extends ProcessError
import { ExitCodeError } from "https://deno.land/x/proc@0.20.37/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; },
)