In the preceding section, we determined how to configure an error callback. However, when performing error handling, we may encounter cases in which we want to continue execution with some alternative values. There are many use cases for such scenarios. For example, quote aggregating systems can have errors thrown while getting the latest tick value, but the aggregation must continue with the last value. In the following sections, we will cover each of the operators offered, in order to accomplish this.
Error recovery
The onErrorReturn operator
Reactor provides the OnErrorReturn operator to provide a fallback value in the event of an error. As a result of the fallback, the original error event is not propagated to the error...