Skip to main content

Class: abstract DaggerSDKError

The base error. Every other error inherits this error.

Extends

  • Error

Extended by

Properties

cause?

optional cause: Error

The original error, which caused the DaggerSDKError.

Overrides

Error.cause


code

abstract readonly code: ErrorCodes

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


message

message: string

Inherited from

Error.message


name

abstract readonly name: "GraphQLRequestError" | "UnknownDaggerError" | "TooManyNestedObjectsError" | "EngineSessionConnectParamsParseError" | "EngineSessionConnectionTimeoutError" | "EngineSessionError" | "InitEngineSessionBinaryError" | "DockerImageRefValidationError" | "NotAwaitedRequestError" | "ExecError" | "IntrospectionError"

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