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