Rx.Observable.catch(...args)

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

Arguments

  1. args (Array | arguments): Observable sequences to catch exceptions for.

Returns

(Observable): An observable sequence containing elements from consecutive source sequences until a source sequence terminates successfully.

Example