I have a service that calls an api
getItems(itemId: number): Observable { return this.http.get(url, headers) .map(this.extractDataSing
I guess this does what you want:
private handleError = (error: any) => { this._router.navigate(['Login']); return Observable.of([]); }