Skip to main content

Dagger NodeJS SDK

common/errors.NotAwaitedRequestError

This error is thrown when the compute function isn't awaited.

Hierarchy

Properties

cause

Optional cause: Error

The original error, which caused the DaggerSDKError.

Inherited from

DaggerSDKError.cause


code

code: "D108"

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

Overrides

DaggerSDKError.code


message

message: string

Inherited from

DaggerSDKError.message


name

name: "NotAwaitedRequestError"

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