-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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 error messages #2658
Comments
I am working on a comparison sheet with our errors and other runtimes' errors (based on test262 tests). I will post that here, thanks for creating an issue :) |
Meta: I don't think FYI: https://github.com/Microsoft/ChakraCore/wiki/Label-Glossary |
Agree none of the current labels really apply. I like the idea of "Dev Experience" or even just "Experience". The default label set includes "Improvement" which is another option, too. |
We don't currently have an "Improvement" label. One reason I don't like Arguably the split is I'll probably go with |
@kfarnung we have this catch-all for error message improvements. Maybe we can dupe any other error-message issues to this one and track as a group? |
In order to provide the best possible development experience, we should improve error messages to call out as much information as possible (which parameter, which field, actual/expected types, etc.) when something goes wrong.
Sub-issues:
Fixed
Poor / difficult to understand messages
Nice-to-have improvements
[1, 2].sort({})
has unhelpful error message #2411 and PR Change error msg for Array.sort (Fix #2411) #2648 (improved by the PR but still needs more work)The text was updated successfully, but these errors were encountered: