-
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
Mapping onError notifications #3652
Comments
There is the source.onErrorResumeNext(e -> Observable.error(e.getCause()))... |
'materialize()' is useful in this regard too On Wed, 27 Jan 2016 19:56 David Karnok [email protected] wrote:
|
Ah yeah, Would it then perhaps make sense to add an implementation of |
Cool! |
See #3766 for second part... |
I often have the use case that I want to map the
Throwable
emitted by anonError
notification of anObservable
to something else, for example wrapping or unwrapping it.Maybe I missed something, but apparently there is no stock solution in RxJava to achieve this. Currently, I use a custom
Operator
. Would it make sense to add such anOperator
along with its correspondingObservable.mapError
/Single.mapError
methods to RxJava directly?The text was updated successfully, but these errors were encountered: