Skip to main content

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

NameTypeDescription
scopeTypestringThe scopeType for the failed match to show to the user

Overrides

Error.constructor

Defined in

errors.ts:34