Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/proc/tools/deps/proc.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.21.5/tools/deps/proc.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; },
)