Class: ValidationError
Hierarchy
Errorโณ
ValidationErrorโณโณ
DataSourceTypeMismatchErrorโณโณ
DataSourceNotFoundErrorโณโณ
FunctionNotFoundErrorโณโณ
PipelineValidationErrorโณโณ
UndefinedVariableErrorโณโณ
InvalidDirectiveErrorโณโณ
DirectoryValidationError
Methods
captureStackTrace
โธ Static captureStackTrace(targetObject, constructorOpt?): void
Create .stack property on a target object
Parameters
| Name | Type |
|---|---|
targetObject | object |
constructorOpt? | Function |
Returns
void
Inherited from
Error.captureStackTrace
Properties
prepareStackTrace
โช Static Optional prepareStackTrace: (err: Error, stackTraces: CallSite[]) => any
Type declaration
โธ (err, stackTraces): any
Optional override for formatting stack traces
see https://v8.dev/docs/stack-trace-api#customizing-stack-traces
Parameters
| Name | Type |
|---|---|
err | Error |
stackTraces | CallSite[] |
Returns
any
Inherited from
Error.prepareStackTrace
stackTraceLimit
โช Static stackTraceLimit: number
Inherited from
Error.stackTraceLimit
name
โข name: string
Inherited from
Error.name
message
โข message: string
Inherited from
Error.message
stack
โข Optional stack: string
Inherited from
Error.stack
Constructors
constructor
โข new ValidationError(message)
Parameters
| Name | Type |
|---|---|
message | string |
Overrides
Error.constructor