On this page
NavigationCancellationCode
enum
A code for the NavigationCancel
event of the Router
to indicate the reason a navigation failed.
enum NavigationCancellationCode {
Redirect
SupersededByNewNavigation
NoDataFromResolver
GuardRejected
}
Members
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 emiting a value. |
GuardRejected |
A navigation failed because a guard returned |
© 2010–2023 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v14.angular.io/api/router/NavigationCancellationCode