]> git.ipfire.org Git - thirdparty/vuejs/router.git/commitdiff
refactor: reorder errors in interface
authorEduardo San Martin Morote <posva13@gmail.com>
Tue, 19 May 2020 10:00:49 +0000 (12:00 +0200)
committerEduardo San Martin Morote <posva13@gmail.com>
Tue, 19 May 2020 10:01:06 +0000 (12:01 +0200)
src/errors.ts

index 1faa13635560679358d0453342db2fecdeeea20b..885165b0e2800e1d36dfee38a98d02b85d0ae43b 100644 (file)
@@ -24,8 +24,8 @@ export interface MatcherError extends RouterErrorBase {
 }
 
 export enum NavigationFailureType {
-  cancelled = ErrorTypes.NAVIGATION_CANCELLED,
   aborted = ErrorTypes.NAVIGATION_ABORTED,
+  cancelled = ErrorTypes.NAVIGATION_CANCELLED,
   duplicated = ErrorTypes.NAVIGATION_DUPLICATED,
 }
 export interface NavigationFailure extends RouterErrorBase {