Skip to content

API DocumentationDocs


API Documentation / NavigationFailure

Interface: NavigationFailure

Extended Error that contains extra information regarding a failed navigation.

Extends

  • Error

Properties

cause?

optional cause: unknown

Inherited from

Error.cause


from

from: RouteLocationNormalizedGeneric

Route location we were navigating from


message

message: string

Inherited from

Error.message


name

name: string

Inherited from

Error.name


stack?

optional stack: string

Inherited from

Error.stack


to

to: RouteLocationNormalizedGeneric

Route location we were navigating to


type

type: NAVIGATION_ABORTED | NAVIGATION_CANCELLED | NAVIGATION_DUPLICATED

Type of the navigation. One of NavigationFailureType

Released under the MIT License.