Skip to main content

DDOServiceNotFoundError

@nevermined-io/sdk - v3.0.40 / DDOServiceNotFoundError

Class: DDOServiceNotFoundError

Hierarchy

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new DDOServiceNotFoundError(serviceType, did?): DDOServiceNotFoundError

Parameters

NameType
serviceTypestring
did?string

Returns

DDOServiceNotFoundError

Overrides

DDOError.constructor

Defined in

src/errors/NeverminedErrors.ts:76

Properties

cause

Optional cause: unknown

Inherited from

DDOError.cause

Defined in

node_modules/typescript/lib/lib.es2022.error.d.ts:24


message

message: string

Inherited from

DDOError.message

Defined in

node_modules/typescript/lib/lib.es5.d.ts:1077


name

name: string

Inherited from

DDOError.name

Defined in

node_modules/typescript/lib/lib.es5.d.ts:1076


stack

Optional stack: string

Inherited from

DDOError.stack

Defined in

node_modules/typescript/lib/lib.es5.d.ts:1078


prepareStackTrace

Static Optional prepareStackTrace: (err: Error, stackTraces: CallSite[]) => any

Optional override for formatting stack traces

See

https://v8.dev/docs/stack-trace-api#customizing-stack-traces

Type declaration

▸ (err, stackTraces): any

Parameters
NameType
errError
stackTracesCallSite[]
Returns

any

Inherited from

DDOError.prepareStackTrace

Defined in

node_modules/@types/node/globals.d.ts:28


stackTraceLimit

Static stackTraceLimit: number

Inherited from

DDOError.stackTraceLimit

Defined in

node_modules/@types/node/globals.d.ts:30

Methods

captureStackTrace

captureStackTrace(targetObject, constructorOpt?): void

Create .stack property on a target object

Parameters

NameType
targetObjectobject
constructorOpt?Function

Returns

void

Inherited from

DDOError.captureStackTrace

Defined in

node_modules/@types/node/globals.d.ts:21