~/talk

A Practical Approach to Error Handling

Talkat ACCU 2022 · 2022-04-06..04-09· [software-architecture]
links:none on file
slides:none on file

Describes a concrete workflow: check every API call, keep aggressive runtime asserts in release, mark functions noexcept everywhere so failures are forced to a small set of code paths, and collect memory dumps on failure for postmortem analysis. Prioritize reproducing errors before writing handlers, fix the few high-volume faults (example: auto re-register a broken COM component), log noncritical environment quirks, throttle reports, and run automated statistical correlation (Laplacian / MDL-style) over loaded modules to pinpoint third‑party causes.

AI-written summary · about

  1. 0:00Introduction
  2. 1:10Options for Error Handling (2)
  3. 4:31Options for Error Handling: Exception (2)
  4. 5:52Exception Safety Guarantees
  5. 7:31Basic Exception Safety Guarantee
  6. 7:59The Challenge
  7. 8:46So what do we do?
  8. 11:08If checks fail
  9. 14:57Next: Homework
  10. 17:44Categories of Errors: Critical
  11. 20:04Categories of Errors: Untested
  12. 22:41Categories of Errors: Bad User Experience
  13. 24:05Categories of Errors: Indication of broken environment
  14. 25:13Error Analysis
  15. 26:45Cause Analysis
  16. 29:17Minimum Description Length
  17. 31:30Compressing Reports
  18. 35:33C++20 Contracts (2)
~/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.