-
Notifications
You must be signed in to change notification settings - Fork 19
Witchcraft error catching #716
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
Conversation
Can you merge origin react into your branch and repair the merge? Thanks. |
Hi, can you make |
Doing so makes instance of not work. Not sure whu |
Try this: microsoft/TypeScript#13965 |
@kpsuperplane Pull from e45lee/error-handling-fixes |
OK I'm going to merge your branch with the Error handling fixed so I'll close this for now. |
super(message); | ||
} | ||
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So what's the point of this class? It just sets __proto__
to Error?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's a fix to repair the prototype chain so instanceof works properly. See #721.
You might need to rewrite a lot of the error stuff to work with this..