Rx.Observable.prototype.subscribeOnError(onError, [thisArg])
Subscribes a function to invoke upon exceptional termination of the observable sequence.
参数
onError
(Function
): Function to invoke upon exceptional termination of the observable sequence.[thisArg]
(Any
): Object to use as this when executing callback.
返回值
(Disposable): The source sequence whose subscriptions and unsubscriptions happen on the specified scheduler.