js-better-errors icon indicating copy to clipboard operation
js-better-errors copied to clipboard

Let's discuss making better errors for JavaScript

Results 9 js-better-errors issues
Sort by recently updated
recently updated
newest added

I don't know if this project is aimed at the "stack" property, but I would hope to see progress there. **What is the code triggering the message?** ```js function test...

Hey there, this is a great effort! :100: I just wanted to let you know that over on MDN, we try to help web developers with documentation alongside error messages....

**What is the code triggering the message?** ```js let z = { a: { b: { } } } z.a.b.c.d ``` **What went wrong in the code? What is the...

hi everybody. 👋 I recently wrote about some error message changes we had to back out of Firefox, because the new changes broke sites that made assumptions about what certain...

**What is the code triggering the message?** ```js { x = 2; let x; } ``` **What went wrong in the code? What is the system trying to tell you?**...

@wolframkriesing ran a meetup with some JS developers interested in the language itself, and looked into the issue. See notes here: https://gitlab.com/wolframkriesing/jslang-meetups/tree/master/errors-2018-10-18

**What is the code triggering the message?** ```js let pie = { flavor: 'rhubarb', size: 'large' }; pie.push({ temperature: 'warm' }); ``` **What went wrong in the code? What is...

This is a general discussion issue to get some conversation on the topic, not an error message itself. I am wondering how we would define a good error message. I...

**What is the code triggering the message?** ```js let arr = [1, 2, 3 print(arr[0]) ``` **What went wrong in the code? What is the system trying to tell you?**...