Class: VTLInterpretationError
Defined in: src/use-lunatic/commons/variables/errors.ts:10
Extends
Constructors
Constructor
new VTLInterpretationError(
expression,bindings):VTLInterpretationError
Defined in: src/use-lunatic/commons/variables/errors.ts:11
Parameters
| Parameter | Type |
|---|---|
expression | string |
bindings | Record<string, unknown> |
Returns
VTLInterpretationError
Overrides
VTLExpressionError.constructor
Properties
| Property | Modifier | Type | Description | Inherited from | Defined in |
|---|---|---|---|---|---|
bindings | readonly | Record<string, unknown> | - | - | src/use-lunatic/commons/variables/errors.ts:13 |
cause? | public | unknown | - | VTLExpressionError.cause | website/node_modules/typescript/lib/lib.es2022.error.d.ts:26 |
expression | readonly | string | - | VTLExpressionError.expression | src/use-lunatic/commons/variables/errors.ts:12 |
message | public | string | - | VTLExpressionError.message | website/node_modules/typescript/lib/lib.es5.d.ts:1077 |
name | public | string | - | VTLExpressionError.name | website/node_modules/typescript/lib/lib.es5.d.ts:1076 |
stack? | public | string | - | VTLExpressionError.stack | website/node_modules/typescript/lib/lib.es5.d.ts:1078 |
prepareStackTrace? | static | (err, stackTraces) => any | Optional override for formatting stack traces See https://v8.dev/docs/stack-trace-api#customizing-stack-traces | VTLExpressionError.prepareStackTrace | node_modules/@types/node/globals.d.ts:143 |
stackTraceLimit | static | number | - | VTLExpressionError.stackTraceLimit | node_modules/@types/node/globals.d.ts:145 |
Methods
captureStackTrace()
staticcaptureStackTrace(targetObject,constructorOpt?):void
Defined in: node_modules/@types/node/globals.d.ts:136
Create .stack property on a target object
Parameters
| Parameter | Type |
|---|---|
targetObject | object |
constructorOpt? | Function |
Returns
void