Skip to main content

Class: ExecError

API error from an exec operation in a pipeline.

Extends

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" = ERROR_CODES.ExecError

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" = ERROR_NAMES.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 a string representation of an object.

Returns

string