API Documentation / NavigationFailure
Interface: NavigationFailure #
Extended Error that contains extra information regarding a failed navigation.
Hierarchy #
Error
↳
NavigationFailure
Properties #
cause #
• Optional
cause: unknown
Inherited from #
Error.cause
from #
• from: RouteLocationNormalized
Route location we were navigating from
message #
• message: string
Inherited from #
Error.message
name #
• name: string
Inherited from #
stack #
• Optional
stack: string
Inherited from #
Error.stack
to #
• to: RouteLocationNormalized
Route location we were navigating to
type #
• type: NAVIGATION_ABORTED
| NAVIGATION_CANCELLED
| NAVIGATION_DUPLICATED
Type of the navigation. One of NavigationFailureType