NavigationError

class

npm Package @angular/router
Module import { NavigationError } from '@angular/router';
Source router/src/events.ts

Represents an event triggered when a navigation fails due to an unexpected error.

Overview

class NavigationError {
  constructor(id: number, url: string, error: any)
  id: number
  url: string
  error: any
  toString(): string
}

Constructor

constructor(id: number, url: string, error: any)

Members

id: number

url: string

error: any

toString(): string

© 2010–2017 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v4.angular.io/api/router/NavigationError