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

Consistent error messages #42

Open
clemy opened this issue Apr 22, 2020 · 0 comments · May be fixed by #45
Open

Consistent error messages #42

clemy opened this issue Apr 22, 2020 · 0 comments · May be fixed by #45

Comments

@clemy
Copy link
Collaborator

clemy commented Apr 22, 2020

Please implement consistent error messages for all error conditions, especially caused by invalid input data. Please catch and handle exceptions (weight json parser).
For beeing able to use it within the GUI I would prefer an option to get the error in some machine readable format like JSON:

{
    "errorMessage": "some human readable error message",
    "location": {
        "inputName": "query",
        "lineStart": 1,
        "lineEnd": 1,
        "columnStart": 3,
        "columnEnd": 5
    }
}
@petergjoel petergjoel linked a pull request Apr 24, 2020 that will close this issue
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 a pull request may close this issue.

1 participant