Skip to main content

Dagger NodeJS SDK

common/errors.DaggerSDKError

The base error. Every other error inherits this error.

Hierarchy

Properties

cause

Optional cause: Error

The original error, which caused the DaggerSDKError.

Overrides

Error.cause


code

Readonly Abstract code: ErrorCodes

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


message

message: string

Inherited from

Error.message


name

Readonly Abstract name: "GraphQLRequestError" | "UnknownDaggerError" | "TooManyNestedObjectsError" | "EngineSessionConnectParamsParseError" | "EngineSessionConnectionTimeoutError" | "EngineSessionError" | "InitEngineSessionBinaryError" | "DockerImageRefValidationError" | "NotAwaitedRequestError" | "ExecError"

The name of the dagger error.

Overrides

Error.name


stack

Optional stack: string

Inherited from

Error.stack

Methods

printStackTrace

printStackTrace(): void

Pretty prints the error

Returns

void