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

Human Friendly Error Messages #140

Open
mplsmitch opened this issue Oct 24, 2023 · 0 comments
Open

Human Friendly Error Messages #140

mplsmitch opened this issue Oct 24, 2023 · 0 comments

Comments

@mplsmitch
Copy link

One of the priorities for the validator that was identified at the North American GBFS Workshop on Oct 16-17 is the development of human friendly error messages.

I'm opening this issue to start a discussion on how this might be accomplished.

Ideally, error messages would clearly identify the problem and it's location in the feed, and give the user enough information to fix it, using language that is understandable to all users.

I've run several feeds through the validator and collected a few examples of errors that are ambiguous or possibly misleading:

Cannot read properties of undefined (reading 'find')

SyntaxError: Unexpected token '<', " <HE"... is not valid JSON

A URL that returns a 404 results in this error:

Sorry, this version is not yet implemented or not detectable !

If this topic is of interest to you, please weigh in with ideas on how validator outputs might be improved. Examples are encouraged.

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