Skip to content
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

Implement Error.isError #4114

Merged
merged 1 commit into from
Jan 8, 2025
Merged

Implement Error.isError #4114

merged 1 commit into from
Jan 8, 2025

Conversation

jedel1043
Copy link
Member

Implements the Error.isError proposal, and unifies Error with ErrorObject into a single Error type.

@jedel1043 jedel1043 added enhancement New feature or request builtins PRs and Issues related to builtins/intrinsics labels Jan 8, 2025
@jedel1043 jedel1043 added this to the next-release milestone Jan 8, 2025
@jedel1043 jedel1043 requested a review from a team January 8, 2025 06:41
Copy link

github-actions bot commented Jan 8, 2025

Test262 conformance changes

Test result main count PR count difference
Total 50,254 50,254 0
Passed 44,995 45,007 +12
Ignored 1,740 1,728 -12
Failed 3,519 3,519 0
Panics 0 0 0
Conformance 89.54% 89.56% +0.02%
Fixed tests (12):
test/built-ins/Error/isError/non-error-objects-other-realm.js (previously Ignored)
test/built-ins/Error/isError/name.js (previously Ignored)
test/built-ins/Error/isError/error-subclass.js (previously Ignored)
test/built-ins/Error/isError/errors.js (previously Ignored)
test/built-ins/Error/isError/symbols.js (previously Ignored)
test/built-ins/Error/isError/bigints.js (previously Ignored)
test/built-ins/Error/isError/primitives.js (previously Ignored)
test/built-ins/Error/isError/is-a-constructor.js (previously Ignored)
test/built-ins/Error/isError/prop-desc.js (previously Ignored)
test/built-ins/Error/isError/errors-other-realm.js (previously Ignored)
test/built-ins/Error/isError/non-error-objects.js (previously Ignored)
test/built-ins/Error/isError/fake-errors.js (previously Ignored)

@jedel1043 jedel1043 force-pushed the is-error branch 2 times, most recently from 008e4f5 to 2213874 Compare January 8, 2025 07:31
Copy link
Member

@nekevss nekevss left a comment

Choose a reason for hiding this comment

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

LGTM

@nekevss nekevss requested a review from a team January 8, 2025 15:06
@raskad raskad added this pull request to the merge queue Jan 8, 2025
Merged via the queue into main with commit ce6cfa8 Jan 8, 2025
13 checks passed
@raskad raskad deleted the is-error branch January 8, 2025 16:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
builtins PRs and Issues related to builtins/intrinsics enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants