~/talk

Error handling Isn't All About Errors

Talkat RustConf 2020 · 2020-08-20..08-21· [rust]
links:none on file
slides:none on file

Claims error handling splits into concrete parts — define, propagate, match/react, discard, report — and shows how that framing guides tool choice. Builds and demos air plus color error hooks to produce rich reports (command, stdout/stderr sections, suggestions, hidden span backtraces) and shows it works end to end. Surveys libraries for each part: anyhow, thiserror, displaydoc, snafu, tracing, extract_error and notes reporters can’t implement Error so they don’t compose well for libraries.

AI-written summary · about

  1. 0:00Introduction
  2. 1:00Why Error Handling
  3. 3:28Fundamentals
  4. 7:10Propagation
  5. 7:43Error trait
  6. 10:36Simple errors
  7. 13:09Error reporters
  8. 18:07Tips
  9. 22:27Useful Libraries
  10. 26:02Discarding Errors
~/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.