Streams #3

In this lesson, you will learn to handle errors in Streams.

Handling Errors in Streams

When an error(s) occurs, a Stream can notify it as an error event similar to a data event. The stream can notify about an error in one of three ways:

  • Stream notifies the first error event and stops. We will see a few examples of this case in the lesson.
  • Stream notifies multiple error events.
  • Stream notifies error event(s) and continue delivering events.
...