API Documentation • Docs
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
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
Route location we were navigating to
type
type:
NAVIGATION_ABORTED
|NAVIGATION_CANCELLED
|NAVIGATION_DUPLICATED
Type of the navigation. One of NavigationFailureType