class ExitCodeError
extends ProcessError

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; },
)

Usage

import { ExitCodeError } from ".";