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

Add error-cause feature #2263

Merged
merged 2 commits into from
Nov 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions features/error-cause.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
name: Error cause
description: The `cause` property of errors records the specific original cause of the error, particularly for errors that have been re-thrown.
spec:
- https://tc39.es/ecma262/multipage/fundamental-objects.html#sec-installerrorcause
compat_features:
- javascript.builtins.Error.Error.options_cause_parameter
- javascript.builtins.Error.cause
18 changes: 18 additions & 0 deletions features/error-cause.yml.dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Generated from: error-cause.yml
# Do not edit this file by hand. Edit the source file instead!

status:
baseline: high
baseline_low_date: 2021-09-20
baseline_high_date: 2024-03-20
support:
chrome: "93"
chrome_android: "93"
edge: "93"
firefox: "91"
firefox_android: "91"
safari: "15"
safari_ios: "15"
compat_features:
- javascript.builtins.Error.Error.options_cause_parameter
- javascript.builtins.Error.cause