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


cause?

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


exitCode

exitCode: number

The exit code of the command.

Source

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


killed

killed: boolean

Indicates whether the process was forcefully killed.

Source

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


message

message: string

The error message.

Overrides

Error.message

Source

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


name

name: string

Inherited from

Error.name

Source

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


stack?

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


stdout

stdout: string

The standard output (stdout) content of the command.

Source

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