Aller au contenu principal

Class: VTLMissingDependency

Defined in: src/use-lunatic/commons/variables/errors.ts:19

Extends​

Constructors​

Constructor​

new VTLMissingDependency(expression, variableName): VTLMissingDependency

Defined in: src/use-lunatic/commons/variables/errors.ts:20

Parameters​

ParameterType
expressionstring
variableNamestring

Returns​

VTLMissingDependency

Overrides​

VTLExpressionError.constructor

Properties​

PropertyModifierTypeDescriptionInherited fromDefined in
cause?publicunknown-VTLExpressionError.causenode_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.error.d.ts:26
expressionreadonlystring-VTLExpressionError.expressionsrc/use-lunatic/commons/variables/errors.ts:21
messagepublicstring-VTLExpressionError.messagenode_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es5.d.ts:1077
namepublicstring-VTLExpressionError.namenode_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es5.d.ts:1076
stack?publicstring-VTLExpressionError.stacknode_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es5.d.ts:1078
variableNamereadonlystring--src/use-lunatic/commons/variables/errors.ts:22
prepareStackTrace?static(err, stackTraces) => anyOptional override for formatting stack traces See https://v8.dev/docs/stack-trace-api#customizing-stack-tracesVTLExpressionError.prepareStackTracenode_modules/.pnpm/@types+node@22.8.0/node_modules/@types/node/globals.d.ts:143
stackTraceLimitstaticnumber-VTLExpressionError.stackTraceLimitnode_modules/.pnpm/@types+node@22.8.0/node_modules/@types/node/globals.d.ts:145

Methods​

captureStackTrace()​

static captureStackTrace(targetObject, constructorOpt?): void

Defined in: node_modules/.pnpm/@types+node@22.8.0/node_modules/@types/node/globals.d.ts:136

Create .stack property on a target object

Parameters​

ParameterType
targetObjectobject
constructorOpt?Function

Returns​

void

Inherited from​

VTLExpressionError.captureStackTrace


isError()​

static isError(error): error is Error

Defined in: node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.esnext.error.d.ts:23

Indicates whether the argument provided is a built-in Error instance or not.

Parameters​

ParameterType
errorunknown

Returns​

error is Error

Inherited from​

VTLExpressionError.isError