O'Reilly logo

Mastering Reactive JavaScript by Erich de Souza Oliveira

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Treating an error

In the last section, we learned to react to errors on our observer, but we have other strategies to deal with errors before propagating them to our observers. These strategies include the following points:

  • Fallback to a different observable
  • Retry the computation of this observable
  • Delay the delivery of the error

These strategies can be implemented using operators that we will explore in the chapter.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required