Skip to main content

Dagger NodeJS SDK

common/errors.GraphQLRequestError

This error originates from the dagger engine. It means that some error was thrown and sent back via GraphQL.

Hierarchy

Properties

cause

Optional cause: Error

The original error, which caused the DaggerSDKError.

Inherited from

DaggerSDKError.cause


code

code: "D100"

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

Overrides

DaggerSDKError.code


message

message: string

Inherited from

DaggerSDKError.message


name

name: "GraphQLRequestError"

The name of the dagger error.

Overrides

DaggerSDKError.name


requestContext

requestContext: GraphQLRequestContext

The query and variables, which caused the error.


response

response: GraphQLResponse

the GraphQL response containing the error.


stack

Optional stack: string

Inherited from

DaggerSDKError.stack

Methods

printStackTrace

printStackTrace(): void

Pretty prints the error

Returns

void

Inherited from

DaggerSDKError.printStackTrace