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 extends RouterEvent {
  constructor(id: number, url: string, error: any)
  error: any
  toString(): string
  // inherited from router/RouterEvent
  id: number
  url: string
}

Constructor

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

Members

error: any

toString(): string

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