Как сделать перенаправление на страничку с ошибкой 500 при сбои в сети или по другим тех неполадкам? Вот мой routing на данный момент
import { Routes, RouterModule } from '@angular/router';
import { ModuleWithProviders } from '@angular/core';
import { DasboardComponent} from '../layout/dasboard.component';
import { SignInComponent } from '../layout/sign-in/sign-in.component';
import { NotFoundComponent } from '../layout/not-found/not-found.component';
import {AuthGuard} from '../shared/guards/auth.guard';
export const routes: Routes = [
{ path: '', redirectTo: 'dasboard', pathMatch: 'full' },
{ path: 'sign_in', component: SignInComponent },
{ path: 'dasboard', component: DasboardComponent, canActivate: [AuthGuard] },
{ path: 'not_found', component: NotFoundComponent },
{ path: '**', component: NotFoundComponent }
];
export const routing: ModuleWithProviders = RouterModule.forRoot(routes, { useHash: true });