Class: NoContainingScopeError
errors.NoContainingScopeError
Throw this error if you have attempted to match based on a language scope but have not returned a match.
Hierarchy
Error
↳
NoContainingScopeError
Constructors
constructor
• new NoContainingScopeError(scopeType
)
Parameters
Name | Type | Description |
---|---|---|
scopeType | string | The scopeType for the failed match to show to the user |
Overrides
Error.constructor
Defined in
errors.ts:34