Skip to main content

Interface: RunError

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

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

Indicates whether the execution was cancelled.


cause?

optional cause: unknown

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

Inherited from

Error.cause


command

command: string

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

The command that was executed.


exitCode

exitCode: number

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

The exit code of the command.


killed

killed: boolean

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

Indicates whether the process was forcefully killed.


message

message: string

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

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

The standard error (stderr) content of the command.


stdout

stdout: string

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

The standard output (stdout) content of the command.