Aller au contenu principal

Class: VTLExpressionError

Extends

  • Error

Extended by

Constructors

new VTLExpressionError()

new VTLExpressionError(expression, message): VTLExpressionError

Parameters

ParameterType
expressionstring
messagestring

Returns

VTLExpressionError

Overrides

Error.constructor

Defined in

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

Properties

PropertyModifierTypeDescriptionInherited fromDefined in
cause?publicunknown-Error.causewebsite/node_modules/typescript/lib/lib.es2022.error.d.ts:24
expressionreadonlystring--src/use-lunatic/commons/variables/errors.ts:3
messagepublicstring-Error.messagewebsite/node_modules/typescript/lib/lib.es5.d.ts:1077
namepublicstring-Error.namewebsite/node_modules/typescript/lib/lib.es5.d.ts:1076
stack?publicstring-Error.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-tracesError.prepareStackTracenode_modules/@types/node/globals.d.ts:143
stackTraceLimitstaticnumber-Error.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

Error.captureStackTrace

Defined in

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