4
Handling Errors Reactively
Errors in programming happen all the time, and RxJS is no exception. Handling those errors is a crucial part of every application. As I always say to my students in every training session, implementing a process that only covers happy cases determines the failure of your application. However, in RxJS, there are a lot of error handling strategies that you need to learn in order to handle errors efficiently.
We will start by explaining the contract of the Observable in RxJS, which is crucial to understanding what comes after. Then, we will learn the different error handling patterns and the operators provided by RxJS for that purpose. Next, we will shed light on the different error handling strategies and the use case ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access