I have an http interceptor that will intercept 500 errors and display a dialog box to the user. Below is a snippet of my interceptor code:
intercept(req: Http