-
Notifications
You must be signed in to change notification settings - Fork 27.1k
Closed
Labels
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentAn issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: router
Milestone
Description
Which @angular/* package(s) are relevant/related to the feature request?
router
Description
This is a followup of #48759, especially #48759 (comment).
The use case of the own ErrorHandler in the Router prevents delegating the error to the @angular/core ErrorHandler.
In this scenario normally the NavigationService handles all navigation errors.
All other errors should be handled by the GlobalErrorHandler.
https://stackblitz.com/edit/angular-dob9kc?file=src/main.ts
Proposed solution
Keep the existing possibility to overwrite the behavior how the router handles a NavigationError.
Alternatives considered
none.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentAn issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: router