We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I just saw a couple node Node 18-related notes in the code. I'll add a couple more:
cause
TimeoutError
prefer-error-cause
custom-error-definition
The text was updated successfully, but these errors were encountered:
For custom errors, the V8-specific Error.captureStackTrace might be nice for a cleaner stack trace. Call it with ?. so it does not fail on non-V8.
Error.captureStackTrace
?.
Sorry, something went wrong.
No branches or pull requests
I just saw a couple node Node 18-related notes in the code. I'll add a couple more:
cause
inTimeoutError
, even if unused locallyprefer-error-cause
eslint-plugin-unicorn#1342custom-error-definition
incompatible with instance class field + broken autofix eslint-plugin-unicorn#1993TimeoutError
matches these changes, since d.ts file is maintained manuallyThe text was updated successfully, but these errors were encountered: