Skip to main content

Class: GraphQLRequestError

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

Extends

Properties

cause?

optional cause: Error

The original error, which caused the DaggerSDKError.

Inherited from

DaggerSDKError.cause


code

code: "D100" = ERROR_CODES.GraphQLRequestError

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" = ERROR_NAMES.GraphQLRequestError

The name of the dagger error.

Overrides

DaggerSDKError.name


requestContext

requestContext: ClientError

The query and variables, which caused the error.


response

response: ClientError

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