~/talk

Writing Better Errors

Talkat Red Dot Ruby Conference 2017 · 2017-06-22..06-23· [developer-experience]
name:Laura Eck
github:Morred
slides:none on file

Errors target different audiences and should be split: log full backtrace and params to a service like Rollbar or Airbrake so developers get actionable diagnostics, return use matching HTTP status codes and a clear response body for API consumers, and show localized, concise messages with exact next steps and front‑end validation to app users. Differentiate transient failures (suggest retry) from data or payment issues (offer support or promise proactive follow‑up) and surface frequency metrics to fix UX hotspots.

AI-written summary · about

  1. 0:00Start
  2. 7:04User Errors
  3. 7:52Server Errors
  4. 12:48Developer - Input Errors
  5. 13:49API User - Input Error
  6. 18:16Developer - Server Error
  7. 20:22User Server Error
~/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.