Catching Errors with rxjs not working as shown

I am trying to follow along with courses/206545/lectures/3196489 but the error handling with rxjs must have changed. I cannot find .catch available even after importing ‘rxjs/add/operator/catch’

Also, in courses/angular-master-class/lectures/3196486 when I change the post id to 3456, I am still getting a response of OK from jsonplaceholder API.

Hey there,
Have you managed to solve the problem?

1 Like

This post is pretty useful: