Coding task · Angular course · Module 9: HttpClient
Practice: Error Handling
RxJS's error-handling operator catches an error in the stream and calls the function you give it. throwError() passes the error on, and HttpErrorResponse holds the details of the HTTP error. The handler returns a stream that only reports an error, the rxjs type with the never parameter.
Task
Complete the error handling in the service with logging and re-throw.