Skip to main content

Dagger NodeJS SDK

common/errors.ExecError

API error from an exec operation in a pipeline.

Hierarchy

Properties

cause

Optional cause: Error

The original error, which caused the DaggerSDKError.

Inherited from

DaggerSDKError.cause


cmd

cmd: string[]

The command that caused the error.


code

code: "D109"

The dagger specific error code. Use this to identify dagger errors programmatically.

Overrides

DaggerSDKError.code


exitCode

exitCode: number

The exit code of the command.


message

message: string

Inherited from

DaggerSDKError.message


name

name: "ExecError"

The name of the dagger error.

Overrides

DaggerSDKError.name


stack

Optional stack: string

Inherited from

DaggerSDKError.stack


stderr

stderr: string

The stderr of the command.


stdout

stdout: string

The stdout of the command.

Methods

printStackTrace

printStackTrace(): void

Pretty prints the error

Returns

void

Inherited from

DaggerSDKError.printStackTrace


toString

toString(): string

Returns

string