Error Handling Made Easy
summary
A small open‑source framework called Error Handler implements declarative rules that match errors and run closures, with built‑in actions for offline, HTTP 401, logging and a fallback generic message. It centralizes a default handler override plus per‑screen customizations, supports composable error matters and tags, and includes an Alamo fire extension. Applied at Workable it cuts repeated boilerplate across many screens, preserves needed per‑case behavior (e.g. save draft, show login) and ships successfully with a Java Android port.
AI-written summary · about
chapters (4)
related talks
23mLessons in Swift Error Handling and Resilience
37mStraying From the Happy Path: Taking Control of Errors in Swift
34mStraying From the Happy Path: Taking Control of Errors in Swift
40mLeveraging Swift’s Type System
36mLet’s make your DATA sexy
30mLeveraging Swift's Type System
52mType-Driven Design with Swift
50mWriting Swift code with great testability
