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

Errors as Exceptions Converted to JSON #45

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

petergjoel
Copy link
Member

Fixes #42 by outputting errors in JSON format in stdout.
Also throws errors on empty matching in query, implying possible user error.

@petergjoel
Copy link
Member Author

@clemy I still need to do better location-handling, but does this behave as expected otherwise?

And would you like a path with the parser-errors?

@petergjoel petergjoel marked this pull request as ready for review June 13, 2020 09:00
@petergjoel
Copy link
Member Author

@MortenSchou and @clemy are these fixes still relevant?

@MortenSchou
Copy link
Collaborator

I think it makes sense to provide structured error messages, and at least most of these updates are still valid. Except for main.cpp, which would need a bit of effort to merge.
But I am not sure what the GUI needs.?

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

Successfully merging this pull request may close these issues.

Consistent error messages
2 participants