From: Eduardo San Martin Morote Date: Tue, 19 May 2020 10:00:49 +0000 (+0200) Subject: refactor: reorder errors in interface X-Git-Tag: v4.0.0-alpha.12~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e20c88e1a09b3aaa8822baa89c83506de1b59a5e;p=thirdparty%2Fvuejs%2Frouter.git refactor: reorder errors in interface --- diff --git a/src/errors.ts b/src/errors.ts index 1faa1363..885165b0 100644 --- a/src/errors.ts +++ b/src/errors.ts @@ -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 {