Aller au contenu principal

Class: VTLInterpretationError

Extends

Constructors

new VTLInterpretationError()

new VTLInterpretationError(expression, bindings): VTLInterpretationError

Parameters

ParameterType
expressionstring
bindingsRecord<string, unknown>

Returns

VTLInterpretationError

Overrides

VTLExpressionError.constructor

Defined in

src/use-lunatic/commons/variables/errors.ts:11

Properties

PropertyModifierTypeDescriptionInherited fromDefined in
bindingsreadonlyRecord<string, unknown>--src/use-lunatic/commons/variables/errors.ts:13
cause?publicunknown-VTLExpressionError.causewebsite/node_modules/typescript/lib/lib.es2022.error.d.ts:24
expressionreadonlystring-VTLExpressionError.expressionsrc/use-lunatic/commons/variables/errors.ts:12
messagepublicstring-VTLExpressionError.messagewebsite/node_modules/typescript/lib/lib.es5.d.ts:1077
namepublicstring-VTLExpressionError.namewebsite/node_modules/typescript/lib/lib.es5.d.ts:1076
stack?publicstring-VTLExpressionError.stackwebsite/node_modules/typescript/lib/lib.es5.d.ts:1078
prepareStackTrace?static(err: Error, stackTraces: CallSite[]) => anyOptional override for formatting stack traces See https://v8.dev/docs/stack-trace-api#customizing-stack-tracesVTLExpressionError.prepareStackTracenode_modules/@types/node/globals.d.ts:143
stackTraceLimitstaticnumber-VTLExpressionError.stackTraceLimitnode_modules/@types/node/globals.d.ts:145

Methods

captureStackTrace()

static captureStackTrace(targetObject, constructorOpt?): void

Create .stack property on a target object

Parameters

ParameterType
targetObjectobject
constructorOpt?Function

Returns

void

Inherited from

VTLExpressionError.captureStackTrace

Defined in

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