Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve parser errors #138

Open
elliotchance opened this issue Feb 12, 2023 · 0 comments
Open

Improve parser errors #138

elliotchance opened this issue Feb 12, 2023 · 0 comments

Comments

@elliotchance
Copy link
Owner

Parser errors should be way more friendly, they should at least:

  1. Describe the exact position (line/column number)
  2. Show more surrounding tokens or the whole line so its much easier to understand where the error is.
  3. Provide helpful tips for common misconceptions. For example, inline PRIMARY KEY should provide a link to the doc with a example rather than just say "error at PRIMARY"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant