Skip to content

vue-router / NavigationFailure

NavigationFailure ​

Extended Error that contains extra information regarding a failed navigation.

Extends ​

  • Error

Properties ​

cause? ​

ts
optional cause?: unknown;

Inherited from ​

ts
Error.cause

from ​

ts
from: RouteLocationNormalizedGeneric;

Route location we were navigating from


message ​

ts
message: string;

Inherited from ​

ts
Error.message

name ​

ts
name: string;

Inherited from ​

ts
Error.name

stack? ​

ts
optional stack?: string;

Inherited from ​

ts
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.