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:3960


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:3945


exitCode

exitCode: number

The exit code of the command.

Source

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


killed

killed: boolean

Indicates whether the process was forcefully killed.

Source

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


message

message: string

The error message.

Overrides

Error.message

Source

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


name

name: string

Inherited from

Error.name

Source

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


stack?

optional stack: string

Inherited from

Error.stack

Source

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


stderr

stderr: string

The standard error (stderr) content of the command.

Source

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


stdout

stdout: string

The standard output (stdout) content of the command.

Source

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