Skip to main content

Interface: RunError

Defined in: packages/extension-api/src/extension-api.d.ts:4339

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

Extends

  • Error

Properties

cancelled

cancelled: boolean

Defined in: packages/extension-api/src/extension-api.d.ts:4368

Indicates whether the execution was cancelled.


cause?

optional cause: unknown

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

Inherited from

Error.cause


command

command: string

Defined in: packages/extension-api/src/extension-api.d.ts:4353

The command that was executed.


exitCode

exitCode: number

Defined in: packages/extension-api/src/extension-api.d.ts:4348

The exit code of the command.


killed

killed: boolean

Defined in: packages/extension-api/src/extension-api.d.ts:4373

Indicates whether the process was forcefully killed.


message

message: string

Defined in: packages/extension-api/src/extension-api.d.ts:4343

The error message.

Overrides

Error.message


name

name: string

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

Inherited from

Error.name


stack?

optional stack: string

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

Inherited from

Error.stack


stderr

stderr: string

Defined in: packages/extension-api/src/extension-api.d.ts:4363

The standard error (stderr) content of the command.


stdout

stdout: string

Defined in: packages/extension-api/src/extension-api.d.ts:4358

The standard output (stdout) content of the command.