Skip to main content

Class: ShellError

@pvm/core.ShellError

Hierarchy

  • Error

    ↳ ShellError

Constructors

constructor

• new ShellError(message?)

Parameters

NameType
message?string

Inherited from

Error.constructor

Defined in

website/node_modules/typescript/lib/lib.es5.d.ts:979

Properties

pid

• pid: number = -Infinity

Defined in

packages/pvm-core/lib/shell/index.ts:12


signal

• signal: null | Signals = null

Defined in

packages/pvm-core/lib/shell/index.ts:11


status

• status: null | number = null

Defined in

packages/pvm-core/lib/shell/index.ts:10


stderr

• stderr: string | Buffer = ''

Defined in

packages/pvm-core/lib/shell/index.ts:8


stdout

• stdout: string | Buffer = ''

Defined in

packages/pvm-core/lib/shell/index.ts:9

Methods

assignShellResult

â–¸ assignShellResult(result): void

Parameters

NameType
resultSpawnSyncReturns<string | Buffer>

Returns

void

Defined in

packages/pvm-core/lib/shell/index.ts:23


assignShellResult

â–¸ Static assignShellResult(target, result): ShellError

Parameters

NameType
targetShellError
resultSpawnSyncReturns<string | Buffer>

Returns

ShellError

Defined in

packages/pvm-core/lib/shell/index.ts:14