Rx.Observable.prototype.onErrorResumeNext(second)

Continues an observable sequence that is terminated normally or by an exception with the next observable sequence or Promise.

Arguments

  1. second (Observable | Promise): Second observable sequence used to produce results after the first sequence terminates.

Returns

(Observable): An observable sequence that concatenates the first and second sequence, even if the first sequence terminates exceptionally.

Example