Leveraging Typed Exceptions for Cleaner Error Handling [eng]
Exceptions are an effective way to handle error conditions without adding too much "noise" to our code. In doing so, we will explore how Exceptions enable us to decouple the signaling of an error from the handling of it.
We will look at examples extrapolated from real-world scenarios, highlighting what our code looks like without leveraging exceptions, and what it could look like when leveraging them. We will also show consequences of insufficiently handling error conditions.