Summary
Review the operators used to handle errors.
In this chapter, we explored some of the most commonly used RxJS error-handling strategies available. We learned about the observable contract. We explained some useful RxJS operators to handle errors, namely catchError()
, delayWhen()
, retry()
, and retryWhen()
. We also shed light on the different strategies for error handling and when to choose each strategy. Finally, we handled the error in our recipe app for the first implemented feature.
Get hands-on with 1400+ tech skills courses.