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.

Defined in

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


cause?

optional cause: unknown

Inherited from

Error.cause

Defined in

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


command

command: string

The command that was executed.

Defined in

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


exitCode

exitCode: number

The exit code of the command.

Defined in

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


killed

killed: boolean

Indicates whether the process was forcefully killed.

Defined in

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


message

message: string

The error message.

Overrides

Error.message

Defined in

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


name

name: string

Inherited from

Error.name

Defined in

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


stack?

optional stack: string

Inherited from

Error.stack

Defined in

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


stderr

stderr: string

The standard error (stderr) content of the command.

Defined in

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


stdout

stdout: string

The standard output (stdout) content of the command.

Defined in

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