Class: VariableScopeCollisionError
Raised when a declared variable name is observed at more than one scope (for example a local
variable shadowing a process-level variable). The result would be ambiguous, so the search
fails loudly rather than silently picking one. Pass an explicit scopeKey to disambiguate.
Extends
Constructors
Constructor
new VariableScopeCollisionError(variableName, scopeKeys): VariableScopeCollisionError;
Parameters
variableName
string
scopeKeys
readonly string[]
Returns
VariableScopeCollisionError
Overrides
TypedVariablesError.constructor
Properties
scopeKeys
readonly scopeKeys: readonly string[];
variableName
readonly variableName: string;