Skip to main content

Class: IntrospectionError

The base error. Every other error inherits this error.

Extends

Constructors

new IntrospectionError()

new IntrospectionError(message, options?): IntrospectionError

Parameters

message

string

options?

DaggerSDKErrorOptions

Returns

IntrospectionError

Overrides

DaggerSDKError.constructor

Properties

cause?

optional cause: Error

The original error, which caused the DaggerSDKError.

Inherited from

DaggerSDKError.cause


code

code: "D110" = ERROR_CODES.IntrospectionError

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

Overrides

DaggerSDKError.code


message

message: string

Inherited from

DaggerSDKError.message


name

name: "IntrospectionError" = ERROR_NAMES.IntrospectionError

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