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


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


exitCode

exitCode: number

The exit code of the command.

Defined in

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


killed

killed: boolean

Indicates whether the process was forcefully killed.

Defined in

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


message

message: string

The error message.

Overrides

Error.message

Defined in

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


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


stdout

stdout: string

The standard output (stdout) content of the command.

Defined in

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