ProcessErrorOptions interface

Structured details for a ProcessError.

Properties

code

The operating-system error code or process exit code.

killed

Whether the process was killed.

signal

The signal that terminated the process.

stderr

Captured standard error.

stdout

Captured standard output.

Property Details

code

The operating-system error code or process exit code.

code?: null | string | number

Property Value

null | string | number

killed

Whether the process was killed.

killed?: boolean

Property Value

boolean

signal

The signal that terminated the process.

signal?: null | Signals

Property Value

null | Signals

stderr

Captured standard error.

stderr?: string | Buffer

Property Value

string | Buffer

stdout

Captured standard output.

stdout?: string | Buffer

Property Value

string | Buffer