Acknowledgments: If you can read this article it’s because Stefano Magni has been more than supportive from its inception to its publication. Kudos to him!
This post is also available on DEV
Chances are if you’re reading this you might already be working in software development or be interested in working in the field.
Software is great and it’s for sure a sector of the world’s economy that is growing and will keep growing for years to come. …
I recently spent some time digging into RxJava’s error handling facilities and realized that throwables forwarded to RxJavaPlugins.setErrorHandler()
are sometimes wrapped in OnErrorNotImplementedException
and sometimes in UndeliverableException
. I couldn’t easily figure out why and when so I drafted a piece of code that I hope might help others shed some light on the matter.
Exceptions can occur in many places in an RxJava chain but for this specific article we will cover three particular situations:
Exceptions coming from upstream (i.e. from the source we are hooking up to) are forwarded to the subscriber’s onError()
if present, or wrapped in…
Two things happened recently:
I’m using tsc
(TypeScript’s compiler) in watch mode which is very convenient to trigger automatic transpilation while developing.
But here’s what happens:
Lately I’m running more and more into an infamous macOS bug whereas the Dock.app somehow hangs leaving the macOS GUI in a semi-stuck state in which, depending on the odds, you might find yourself unable to:
Technology enthusiast, feline wielder, Android engineer @memoryhq