Skip to content

vue-router / NavigationFailure

NavigationFailure ​

Extended Error that contains extra information regarding a failed navigation.

Extends ​

  • Error

Properties ​

cause? ​

ts
cause?: unknown;

Inherited from ​

Error.cause


from ​

ts
from: RouteLocationNormalizedGeneric;

Route location we were navigating from


message ​

ts
message: string;

Inherited from ​

Error.message


name ​

ts
name: string;

Inherited from ​

Error.name


stack? ​

ts
stack?: string;

Inherited from ​

Error.stack


to ​

ts
to: RouteLocationNormalizedGeneric;

Route location we were navigating to


type ​

ts
type: 
  | NAVIGATION_ABORTED
  | NAVIGATION_CANCELLED
  | NAVIGATION_DUPLICATED;

Type of the navigation. One of NavigationFailureType

Released under the MIT License.