-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Motivation
The scanner.Next() just returns simple error message, like e.g. "Bad input ...".
See:
Line 188 in b5bde4e
| func (scanner *Scanner) Next() error { |
Since we have more context in the parser, it would be great and more user friendly to give more meaningful error message,
helping in quicker fixing the issue.
E.g. Parser:
Line 91 in b5bde4e
| err = p.scanner.Next() |
Hints/Tasks
- build a concept how to improve error messages inside the parser
- reworking error handling
- create some tests to show case
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request