-
Notifications
You must be signed in to change notification settings - Fork 13
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
Support for Error Cause #41
Comments
If engines decide to decorate the stack with causes, then this proposal will have to accommodate it. If not, it won't. Either way, until this proposal (or another that does the same thing) lands, no proposal would be able to do anything with error stacks. I'm not sure what there is to discuss. |
Since sentry-javascript and others already assume that
That's true. The discussion will start when this proposal (or another) reaches Stage 2 or 3. I prepared for that time. If this issue is in your way, you can close it. |
Thanks for filing. Please keep it open. The SES-shim currently has a partial shim for |
Pony Cause (Error Cause ponyfill) has
stackWithCauses
function that generate a stack trace string withcause
errors. Make sense to add function likeSystem.getStackStringWithCauses
.This feature has nothing to do with compatibility, which is the motivation for this proposal, so it may be better to proceed as a separate proposal. However, I thought it was worth having this issue here for discussion.
related: #22, tc39/proposal-error-cause#16, tc39/proposal-error-cause#41
The text was updated successfully, but these errors were encountered: