Arrow of Outrageous Error Handling
summary
Demonstrates using Arrow on Android to make error handling type safe by replacing unchecked exceptions with explicit results, using Either.catch to wrap network and DB failures, mapping data source exceptions into domain exceptions, and composing calls with a monad comprehension (bind) to avoid nesting while preserving short circuit semantics. Shows accumulating validation errors with Validated with NonEmptyList and zip to return multiple reasons for invalid names. Ends with practical guidance to handle errors locally rather than with a global handler.
AI-written summary · about
chapters (5)
- 0:00Start
- 4:58Callbacks
- 5:52Rx Java
- 12:51Remote Data Source
- 34:19Does the Arrow Library Have any Api To Globalize Error Handling
related talks
42mDesign for errors - An introduction to Domain Modeling with Arrow
32mFrom Exception Hell to Typed Bliss: Real-World Error Handling with Kotlin and Arrow
41mAn Arrow to the Kotlin
47mFunctional programming in Kotlin: exploring Arrow
30mFunctional programming in Kotlin: exploring Arrow
44mError Handling Beyond the Standard Library
46mDesign for errors - An introduction to Domain Modeling with a bit of Arrow
43mFunctional Error Handling
