Skip to main content
2 events
when toggle format what by license comment
Sep 21, 2022 at 8:33 comment added NerdyDeeds This is a carbon copy of the MDN sample code presented within their Custom ES6 error section (developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/…), though you did take the time to modify "CustomError" to :DumbError" and to update the trigger code into something entirely nonsensical. This is a huge relief to me, since I've wondered for some time (and since you've made it clear how simple it is): What's the point of their (and by extension, of course, your) setting of this.date and this.foo? Oh! & how do you apply captureStackTrace?
Jun 23, 2019 at 15:19 history answered Muhammad Umer CC BY-SA 4.0