Search⌘ K

Catching Errors With the Catch Operator

Explore how to use the catch operator in RxJS to handle errors within observable sequences. This lesson helps you understand how to catch errors, replace the erroring observable with a new one, and maintain the data stream without interruption in reactive programming.

We'll cover the following...

So far we’ve learned how to detect an error and do something with that information, but we haven’t been able to react to it and continue with whatever we were doing. Observable instances have the catch operator, which allows us to react to an error in the Observable and continue with another Observable.

The ...