SubmissionError instance loses prototype information
See original GitHub issueSomehow Instances of SubmissionError
lose their prototype information up until Error
.
const error = new SubmissionError()
console.log(error instanceof SubmissionError) // false
I tried this code in the examples
of this repo and there it works 🙈
It is probably something related to my webpack/babel setup If I had to guess.
I am using a react-boilerplate
repo with webpack version 2.1.0-beta.28
.
Maybe somebody has an Idea what is wrong here… Any help is greatly appreciated 😊
Issue Analytics
- State:
- Created 7 years ago
- Comments:6
Top Results From Across the Web
SubmissionError instance loses prototype information · Issue #2377 ...
Somehow Instances of SubmissionError lose their prototype information up until Error. const error = new SubmissionError() console.log(error instanceof ...
Read more >Losing instance of a class while using next to pass error in ...
I am trying to create custom errors for better reporting on my API. I am using a custom class called ValidationError . I...
Read more >XForms 2.0 - XForms Users Community Group - W3C
This property describes the kind of data collected in the associated instance data node, according to the P3P specification [P3P 1.0]. This information...
Read more >All other Quebec fixes - Product Documentation | ServiceNow
Problem category Number Short description
Activity Stream PRB1432278 Potential translation issues
Advanced Work Assignment PRB1413067 The Reassignable field is not editable
Advanced Work Assignment PRB1396483 Random...
Read more >Error.prototype.stack - JavaScript - MDN Web Docs - Mozilla
The non-standard stack property of an Error instance offers a ... now produces stacks with more detailed information about the line and ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I merged bjyoungblood/es6-error#26 and published a patch this morning. Hopefully that will fix this issue.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.