Skip to main content

Class: UndefinedVariableError

Extends​

Constructors​

new UndefinedVariableError()​

new UndefinedVariableError(message, filePath): UndefinedVariableError

Parameters​

message​

string

filePath​

string

Returns​

UndefinedVariableError

Overrides​

ValidationError.constructor

Properties​

filePath​

readonly filePath: string


message​

message: string

Inherited from​

ValidationError.message


name​

name: string

Inherited from​

ValidationError.name


stack?​

optional stack: string

Inherited from​

ValidationError.stack


prepareStackTrace()?​

static optional prepareStackTrace: (err, stackTraces) => any

Optional override for formatting stack traces

Parameters​

err​

Error

stackTraces​

CallSite[]

Returns​

any

See​

https://v8.dev/docs/stack-trace-api#customizing-stack-traces

Inherited from​

ValidationError.prepareStackTrace


stackTraceLimit​

static stackTraceLimit: number

Inherited from​

ValidationError.stackTraceLimit

Methods​

captureStackTrace()​

static captureStackTrace(targetObject, constructorOpt?): void

Create .stack property on a target object

Parameters​

targetObject​

object

constructorOpt?​

Function

Returns​

void

Inherited from​

ValidationError.captureStackTrace