Class: VTLExpressionError
Defined in: src/use-lunatic/commons/variables/errors.ts:1
Extends
Error
Extended by
Constructors
Constructor
new VTLExpressionError(
expression
,message
):VTLExpressionError
Defined in: src/use-lunatic/commons/variables/errors.ts:2
Parameters
Parameter | Type |
---|---|
expression | string |
message | string |
Returns
VTLExpressionError
Overrides
Error.constructor
Properties
Property | Modifier | Type | Description | Inherited from | Defined in |
---|---|---|---|---|---|
cause? | public | unknown | - | Error.cause | website/node_modules/typescript/lib/lib.es2022.error.d.ts:26 |
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 , stackTraces ) => 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
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
Inherited from
Error.captureStackTrace