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