NavigationError
Class
An event triggered when a navigation fails due to an unexpected error.
constructor
NavigationError
@paramid
number
@paramurl
string
@paramerror
any
@paramtarget
RouterStateSnapshot | undefined
The target of the navigation when the error occurred.
Note that this can be undefined
because an error could have occurred before the
RouterStateSnapshot
was created for the navigation.
@returns
NavigationError
error
any
toString
string
@returns
string
id
number
A unique ID that the router assigns to every router navigation.
url
string
The URL that is the destination for this navigation.
Jump to details