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

Improve error messages #2658

Open
2 of 5 tasks
dilijev opened this issue Mar 9, 2017 · 7 comments
Open
2 of 5 tasks

Improve error messages #2658

dilijev opened this issue Mar 9, 2017 · 7 comments

Comments

@dilijev
Copy link
Contributor

dilijev commented Mar 9, 2017

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

@dilijev dilijev added this to the Backlog milestone Mar 9, 2017
@dilijev
Copy link
Contributor Author

dilijev commented Mar 9, 2017

@ljharb I like #2648 for what it is; in order to provide better messages across the board would be a bigger work item, so I've decided to open this issue to track it.

@liminzhu
Copy link
Collaborator

liminzhu commented Mar 9, 2017

@bterlson

@bterlson
Copy link
Contributor

bterlson commented Mar 9, 2017

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 :)

@dilijev
Copy link
Contributor Author

dilijev commented Apr 26, 2017

Meta:

I don't think Bug (not a functionality problem) or Codebase Quality (IMO more about code cleanliness) really works for this kind of issue. I was thinking of adding a label like Dev Experience but even that seems a bit off or perhaps heavy-handed. For now I'll leave it as Codebase Quality. What do you think @bterlson / @liminzhu?

FYI: https://github.com/Microsoft/ChakraCore/wiki/Label-Glossary

@bterlson
Copy link
Contributor

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.

@dilijev
Copy link
Contributor Author

dilijev commented Apr 26, 2017

We don't currently have an "Improvement" label.

One reason I don't like Dev Experience is that considering we're a dev tool, there might be confusion as to whether "Dev" refers to users/embedders of ChakraCore (who are devs) or to ChakraCore devs.

Arguably the split is Codebase Quality is for issues that affect devs of ChakraCore and Dev Experience relates to the dev experience we ship. Arguably an issue in the dev experience we ship is a kind of Bug...

I'll probably go with Dev Experience if nobody else chimes in.

chakrabot pushed a commit that referenced this issue May 9, 2017
…er; update baselines. Fixes #2901.

Merge pull request #2903 from dilijev:not-def

Fixes #2901
Ref #2658
chakrabot pushed a commit that referenced this issue May 10, 2017
…ined identifier; update baselines. Fixes #2901.

Merge pull request #2903 from dilijev:not-def

Fixes #2901
Ref #2658
@dilijev
Copy link
Contributor Author

dilijev commented May 2, 2018

@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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants