Skip to main content

Interface: RunError

Represents an error that occurred during the execution of a command.

Extends

  • Error

Properties

cancelled

cancelled: boolean

Indicates whether the execution was cancelled.

Source

packages/extension-api/src/extension-api.d.ts:3472


cause?

optional cause: unknown

Inherited from

Error.cause

Source

node_modules/typescript/lib/lib.es2022.error.d.ts:24


command

command: string

The command that was executed.

Source

packages/extension-api/src/extension-api.d.ts:3457


exitCode

exitCode: number

The exit code of the command.

Source

packages/extension-api/src/extension-api.d.ts:3452


killed

killed: boolean

Indicates whether the process was forcefully killed.

Source

packages/extension-api/src/extension-api.d.ts:3477


message

message: string

The error message.

Overrides

Error.message

Source

packages/extension-api/src/extension-api.d.ts:3447


name

name: string

Inherited from

Error.name

Source

node_modules/typescript/lib/lib.es5.d.ts:1075


stack?

optional stack: string

Inherited from

Error.stack

Source

node_modules/typescript/lib/lib.es5.d.ts:1077


stderr

stderr: string

The standard error (stderr) content of the command.

Source

packages/extension-api/src/extension-api.d.ts:3467


stdout

stdout: string

The standard output (stdout) content of the command.

Source

packages/extension-api/src/extension-api.d.ts:3462