-
Notifications
You must be signed in to change notification settings - Fork 18
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
Use Error.prototype.cause native concept #2561
Labels
Comments
char0n
added a commit
that referenced
this issue
Feb 15, 2023
char0n
added a commit
that referenced
this issue
Feb 15, 2023
char0n
added a commit
that referenced
this issue
Feb 15, 2023
CausedError was introduced as backward compatible base error. Refs #2561
char0n
added a commit
that referenced
this issue
Feb 15, 2023
CausedError was introduced as backward compatible base error. Refs #2561
char0n
added a commit
to swagger-api/swagger-js
that referenced
this issue
Feb 16, 2023
char0n
added a commit
to swagger-api/swagger-js
that referenced
this issue
Feb 16, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The concept is described here: https://nodejs.org/docs/latest-v16.x/api/errors.html#errorcause
Support is aligned here: https://caniuse.com/mdn-javascript_builtins_error_cause
Seems like only package using this is
apidom-reference
, but we need to make sure we'll double check.How to do the backward compatible extension: https://2ality.com/2021/06/error-cause.html#consequence-for-your-own-code
The text was updated successfully, but these errors were encountered: