public UnexpectedScopeException(IPositioned element, string got, IEnumerable <string> expected) : base(element, $"unexpected scope for {element.GetType().Name}, got {got}, expected {string.Join(" or ", expected)}") { }
public NoScopeException(IPositioned element) : base(element, $"expected scope for {element.GetType()}") { }