The whole world is thought and built for handling mainly successful events… we’re always expecting a happy end! On the other hand, we don’t really want to handle errors and therefore we quite often forget about them & their relevance.

The failure in software is something inevitable, our code can fail, the backend connection can fail and even the device could also fail. Error handling techniques are there to help us properly react when an expected or unexpected error might happen.

From the functional programming, the monad design pattern comes to the rescue handling whichever response we can get, either success or error. We’ll explore some of the specific Android and Kotlin related approaches for it.

After attending this lightning talk you’ll have a broader perspective on the importance of error handling and the different ways that you can treat the different scenarios you may face.