~/talk

Writing Better Errors

name:Laura Eck
github:Morred
slides:none on file

Defines two error classes: user errors (bad input) and server errors (bugs), and recommends concrete fixes: show localized, actionable instructions for user errors, add front-end validation to prevent them, and use clear docs for API consumers. For server errors, log full backtraces and params to Rollbar or similar, notify via a channel, and rely on proper HTTP status codes rather than embedding error codes in 200 responses. For payments, confirm proactively whether a charge succeeded.

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.