NavigationError
class
final
An event triggered when a navigation fails due to an unexpected error.
class NavigationError extends RouterEvent { constructor(id: number, url: string, error: any) type: EventType.NavigationError error: any toString(): string // inherited from router/RouterEvent constructor(id: number, url: string) id: number url: string }
See also
Constructor
|
id |
number |
|
url |
string |
|
error |
any |
Properties
Property | Description |
---|---|
type: EventType.NavigationError |
Read-Only |
error: any |
Declared in Constructor |
Methods
toString()
|
---|
|
© 2010–2022 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://angular.io/api/router/NavigationError