You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a conditional catch fails because there are additional errors beyond the caught errors, ensure that the callback gets the first error that did not match the catch block. This will help the application developer. If they've planned on catching a particular error using a conditional catch, but additional errors cause the conditional catch to fail, it will be very confusing when the callback receives, as its only error, an error that matches the catch condition.
The text was updated successfully, but these errors were encountered:
I still need documentation for finalizers, and some finalizer tests, but
I've implemented all of the error machinery, decided how it's all going
to work.
With this commit I've implemented propagation by throwing the `errors`
array and returning the first error unmatched by a conditional catch.
Closes#117.
Closes#116.
Closes#115.
Closes#105.
File Raw Min Zip Min/Zip
index.js 15029/14.68 4518/04.41 4299/04.20 1717/01.68
When a conditional catch fails because there are additional errors beyond the caught errors, ensure that the callback gets the first error that did not match the catch block. This will help the application developer. If they've planned on catching a particular error using a conditional catch, but additional errors cause the conditional catch to fail, it will be very confusing when the callback receives, as its only error, an error that matches the catch condition.
The text was updated successfully, but these errors were encountered: