~/talk

Error handling architecture: clean, rapid, reactive approach

TalkinRussianat Mobile Fest 2018 · on Saturday, 2018-06-02· [developer-experience]

Describes a centralized, pluggable error-handling layer for mobile apps using Rx/Flow patterns: a base ErrorHandler class that presenters inherit, binds to lifecycle, and unpacks CompositeException. Validation is moved into use-case validation so presenters only handle happy paths, and the implementation unifies local cache/server merge and token-refresh logic, removes duplicated error code (cutting ~1000 lines) and speeds new-developer onboarding from ~1 month to ~1 week.

AI-written summary · about

  1. 0:00Introduction
  2. 3:38Clean architecture basics
  3. 8:07Error handling problems
  4. 11:44UI error handler
  5. 16:07Error handler interface
  6. 20:02Error handling levels
  7. 23:12Use case validation
  8. 26:47Architecture benefits
  9. 30:22Implementation challenges
  10. 37:21Q&A
  11. 42:26Q&A
  12. 46:18Summary
~/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.