Skip to main content

Dagger NodeJS SDK

common/errors.UnknownDaggerError

This error is thrown if the dagger SDK does not identify the error and just wraps the cause.

Hierarchy​

Properties​

cause​

Optional cause: Error

The original error, which caused the DaggerSDKError.

Inherited from​

DaggerSDKError.cause


code​

code: "D101"

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

Overrides​

DaggerSDKError.code


message​

message: string

Inherited from​

DaggerSDKError.message


name​

name: "UnknownDaggerError"

The name of the dagger error.

Overrides​

DaggerSDKError.name


stack​

Optional stack: string

Inherited from​

DaggerSDKError.stack

Methods​

printStackTrace​

printStackTrace(): void

Pretty prints the error

Returns​

void

Inherited from​

DaggerSDKError.printStackTrace