Angular Rxjs Error Handling flow

In Angular 2+, http are all RX based. so the error flow is quite different from what we used to have in angular 1.x’s promise based way. consider the code So the basic flow is if anything exception happened, the error handler function in the catch block will be called first. That function should return an…