style: no capitalized error messages
This commit is contained in:
@@ -74,7 +74,7 @@ func ParseExpression(i *iterator.Iterator[tokenizer.Token]) (lambda.Expression,
|
|||||||
|
|
||||||
close, closeErr := i.Next()
|
close, closeErr := i.Next()
|
||||||
if closeErr != nil {
|
if closeErr != nil {
|
||||||
return nil, fmt.Errorf("Could not parse call terminating parenthesis: %w", closeErr)
|
return nil, fmt.Errorf("could not parse call terminating parenthesis: %w", closeErr)
|
||||||
} else if close.Type != tokenizer.TokenCloseParen {
|
} else if close.Type != tokenizer.TokenCloseParen {
|
||||||
return nil, fmt.Errorf("expected call terminating parenthesis, got '%v' (column %v)", close.Value, close.Index)
|
return nil, fmt.Errorf("expected call terminating parenthesis, got '%v' (column %v)", close.Value, close.Index)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user