-
Notifications
You must be signed in to change notification settings - Fork 7.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
2.x: add error handling section to merge() operator docs #5786
Conversation
Codecov Report
@@ Coverage Diff @@
## 2.x #5786 +/- ##
============================================
- Coverage 96.29% 96.23% -0.07%
Complexity 5809 5809
============================================
Files 634 634
Lines 41607 41629 +22
Branches 5770 5775 +5
============================================
- Hits 40066 40062 -4
- Misses 614 630 +16
- Partials 927 937 +10
Continue to review full report at Codecov.
|
* first one's error or, depending on the concurrency of the sources, may terminate with a | ||
* {@code CompositeException} containing two or more of the various error signals. | ||
* {@code Throwable}s that didn't make into the composite will be sent (individually) to the global error handler via | ||
* {@link RxJavaPlugins#onError(Throwable)} method as <em>undeliverable errors</em>. Similarly, {@code Throwable}s |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: maybe replace <em>undeliverable
with <code>UndeliverableException
similarly to CompositeException
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated.
This PR adds the Error handling JavaDoc section to the other
merge
operators throughout the base reactive classes.Note though that the following
mergeDelayError
methods don't exist yet:Maybe.mergeDelayError(Publisher, int)
Single.mergeDelayError(*)
(*
all variants of their respectivemerge
methods are missing)These can be added in a separate PR and don't require implementing new operators but to configure existing ones with
delayError == true
.