Options
All
  • Public
  • Public/Protected
  • All
Menu

Error thrown when a command cannot be executed, the command is killed by a signal, or returns a non-zero exit status.

Hierarchy

Implements

Index

Constructors

constructor

  • new ExecPromiseError(message: string, pid: number, output: string[], stdout: string, stderr: string, status: number, signal: string): ExecPromiseError

Properties

message

message: string

Message describing reason for failure.

name

name: string

output

output: string[]

stdio

pid

pid: number

Command PID.

signal

signal: string

Signal that killed the process, if any.

Optional stack

stack: string

status

status: number

Child process exit status.

stderr

stderr: string

Child process standard error.

stdout

stdout: string

Child process standard output.

Static Error

Error: ErrorConstructor

Methods

Static fromSpawnReturns

Generated using TypeDoc