Closed
Description
I eitting an error to terminated subject. Example code:
val subject = BehavioralSubject.create<Unit>()
subject.onError(RuntimeException(""))
subject.onError(RuntimeException("")) //this error goes to Rx error handler.
That error is handled here:
Maybe, would be nice, if that error will be wrapped into another exception, which explains, why this error goes to Rx error handler. Example:
RxJavaPlugins.onError(RuntimeException("Can't emit the error in terminated subject", t)