Skip to main content

Interface: RunError

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

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

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

The command that was executed.


exitCode​

exitCode: number

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

The exit code of the command.


killed​

killed: boolean

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

Indicates whether the process was forcefully killed.


message​

message: string

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

The error message.

Overrides​

Error.message


name​

name: string

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

Inherited from​

Error.name


stack?​

optional stack?: string

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

Inherited from​

Error.stack


stderr​

stderr: string

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

The standard error (stderr) content of the command.


stdout​

stdout: string

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

The standard output (stdout) content of the command.