vue-router / NavigationFailureType
NavigationFailureType
Enumeration with all possible types for navigation failures. Can be passed to isNavigationFailure to check for specific failures.
Enumeration Members
aborted
ts
aborted: 4;
An aborted navigation is a navigation that failed because a navigation guard returned false
or called next(false)
cancelled
ts
cancelled: 8;
A cancelled navigation is a navigation that failed because a more recent navigation finished started (not necessarily finished).
duplicated
ts
duplicated: 16;
A duplicated navigation is a navigation that failed because it was initiated while already being at the exact same location.