enum
A code for the NavigationCancel
event of the Router
to indicate the reason a navigation failed.
enum NavigationCancellationCode { Redirect SupersededByNewNavigation NoDataFromResolver GuardRejected }
Member | Description |
---|---|
Redirect | A navigation failed because a guard returned a |
SupersededByNewNavigation | A navigation failed because a more recent navigation started. |
NoDataFromResolver | A navigation failed because one of the resolvers completed without emitting a value. |
GuardRejected | A navigation failed because a guard returned |
© 2010–2023 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://angular.io/api/router/NavigationCancellationCode