what’s the difference between throwing an exceptio...
# rx
z
what’s the difference between throwing an exception in
onError
vs wrapping it in an
OnErrorNotImplementedException(throwable)
?
Copy code
// #1
stream.subscribe(
  { }, //onNext
  { throwable -> throw throwable }
)

// #2
stream.subscribe(
  { }, //onNext
  { throwable -> throw OnErrorNotImplementedException(throwable) }
)
Why should I use #2 over #1?