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

Show errors in CLI #112

Open
Glyphack opened this issue Apr 19, 2023 · 0 comments
Open

Show errors in CLI #112

Glyphack opened this issue Apr 19, 2023 · 0 comments
Labels

Comments

@Glyphack
Copy link
Owner

Glyphack commented Apr 19, 2023

Show errors to the users along with the line

  File "<stdin>", line 1
    sadsdf sdfsd
           ^^^^^
SyntaxError: invalid syntax

Can be implemented for the parser first.

  1. Parser should still exit with error if an error happens in the parsing and stop parsing.
  2. The error structure and how we return error can change. Let's just support reporting 1 error for now

Useful:

https://github.com/zesterer/ariadne

@Glyphack Glyphack added the cli label Apr 19, 2023
@Glyphack Glyphack self-assigned this Sep 30, 2023
@Glyphack Glyphack changed the title Show code errors in CLI Show errors in CLI Oct 12, 2023
@Glyphack Glyphack removed their assignment Oct 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant