Skip to main content

Class: FunctionNotFound

The base error. Every other error inherits this error.

Extends

Constructors

new FunctionNotFound()

new FunctionNotFound(message, options?): FunctionNotFound

Parameters

message

string

options?

DaggerSDKErrorOptions

Returns

FunctionNotFound

Overrides

DaggerSDKError.constructor

Properties

cause?

optional cause: Error

The original error, which caused the DaggerSDKError.

Inherited from

DaggerSDKError.cause


code

code: "D109" = ERROR_CODES.ExecError

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

Overrides

DaggerSDKError.code


message

message: string

Inherited from

DaggerSDKError.message


name

name: "ExecError" = ERROR_NAMES.ExecError

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