~/talk

Initiatory Journey from Exceptions to Composable Error Types

TalkinFrenchat Scala.IO 2014 · 2014-10-23..10-24· [developer-experience]
slides:none on file

A migration story from Java exceptions to safer error types: Option, Lift’s Box, and finally a custom error ADT inspired by Scalaz, applied over five years in the Rudder product. It details concrete problems (ambiguous Box semantics, loss of failure origin), tools tried (Option, Either, Box, Scalaz Validation/applicative), and concludes that ambiguity harms teams, so they implemented and open‑sourced a typed failure record (message + optional cause) with small syntax helpers.

AI-written summary · about

  1. 0:00Error handling intro
  2. 3:13Technical vs business errors
  3. 6:20Problems with exceptions
  4. 10:36Compiler-enforced checks
  5. 11:45Algebraic data types for errors
  6. 13:36Option type limits
  7. 14:18Either type constraints
  8. 16:04Pure error handling
  9. 17:53Scala Try critique
  10. 18:36Box alternative
  11. 21:04Rudder’s Box experience
  12. 23:10Unambiguous type semantics
  13. 24:57Composable error theory
  14. 27:48Validation vs disjunction
  15. 30:45Dependent errors handling
  16. 32:10Practical error enrichment
  17. 33:34Custom generic error type
  18. 36:23Best practices
  19. 36:44Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.