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
{{ message }}
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.
This doesn't work as expected when zone v0.8.10 is loaded.
Loading 'zone-js/dist/zone-error.js' fixes the issue. Is it meant to be lke this.
Seems strange this additional script needs to be loaded in order for Zone to not shadow error types.
Zone should be completely transparant right ?
The text was updated successfully, but these errors were encountered:
dbpieter
changed the title
promises rejected with a specific error are not of the original type when they are caught i (v0.8.10 reproduction included)
promises rejected with a specific error are not of the original type when they are caught (v0.8.10 reproduction included)
Jun 1, 2017
When a promise is rejected with a specific error it is not of the same type once it is caught.
REPRO: https://plnkr.co/edit/7fASDCWYk0kRqax5oUWz?p=preview
This doesn't work as expected when zone v0.8.10 is loaded.
Loading 'zone-js/dist/zone-error.js' fixes the issue. Is it meant to be lke this.
Seems strange this additional script needs to be loaded in order for Zone to not shadow error types.
Zone should be completely transparant right ?
The text was updated successfully, but these errors were encountered: