Closed
Description
I often have the use case that I want to map the Throwable
emitted by an onError
notification of an Observable
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 an Operator
along with its corresponding Observable.mapError
/ Single.mapError
methods to RxJava directly?