Skip to Main Content
RxJS in Action
book

RxJS in Action

by Luis Atencio, Paul Daniels
September 2017
Beginner to intermediate content levelBeginner to intermediate
352 pages
10h 50m
English
Manning Publications
Content preview from RxJS in Action

Chapter 7. Error handling with RxJS

This chapter covers

  • The issues with imperative error–handling schemes
  • Using functional data types to abstract exception handling
  • Using observable operators to handle exceptions
  • Different strategies for retrying observable sequences

Until now, we’ve explored only happy-path examples involving RxJS for tackling many different use cases. We suspect that at some point you’ve probably asked yourself, “What would happen if a remote HTTP call failed while fetching data for my stock quote widget?” Observers see the outcome of combining and transforming sequences of streams that you use to map your business logic to. But if an exception occurs midstream, what will the observer see at that point? These are some valid ...

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.
Start your free trial

You might also like

GraphQL in Action

GraphQL in Action

Samer Buna
Angular in Action

Angular in Action

Jeremy Wilken
RxJS Essentials

RxJS Essentials

Yakov Fain

Publisher Resources

ISBN: 9781617293412Publisher SupportOtherSupplemental ContentErrata PagePurchase Link