Skip to content

Conversation

@debadree25
Copy link

Hello!

This pr adds the test of SuppressedError from #3866

Thank you!

@debadree25 debadree25 requested a review from a team as a code owner February 10, 2025 14:57
Copy link
Contributor

@ptomato ptomato left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@ptomato ptomato force-pushed the explicit-resource-management-suppressed-error branch from b5c9e71 to 6214039 Compare February 12, 2025 00:35
@ptomato ptomato merged commit b0319e4 into tc39:main Feb 12, 2025
11 checks passed
const e = new SuppressedError(error, suppressed, message);

assert.sameValue(messageStringified, true);
const keys = Object.getOwnPropertyNames(e);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i think this might not work as expected due to the own stack property in v8?

ljharb added a commit to es-shims/SuppressedError that referenced this pull request Feb 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants