Global HTTP request error catching in Angular 2
Too Long; Didn't Read
Whenever you do an <a href="https://hackernoon.com/tagged/http" target="_blank">HTTP</a> request, there are things that could go wrong. If things go wrong the request will return a response with an error code. Based on this error code you for example want to inform the user what went wrong.