Overview
Explore a practical approach to error handling in this conference talk from ACCU 2022. Learn about a refined method for managing errors in software development, balancing reliability and complexity. Discover how to categorize errors, implement exception safety guarantees, and analyze error causes. Gain insights into critical errors, untested scenarios, and user experience issues. Understand the concept of minimum description length for error reporting and explore C++20 contracts. Apply these techniques to write more reliable software with less effort in your next project.
Syllabus
Introduction
Options for Error Handling (2)
Options for Error Handling: Exception (2)
Exception Safety Guarantees
Basic Exception Safety Guarantee
The Challenge
So what do we do?
If checks fail
Next: Homework
Categories of Errors: Critical
Categories of Errors: Untested
Categories of Errors: Bad User Experience
Categories of Errors: Indication of broken environment
Error Analysis
Cause Analysis
Minimum Description Length
Compressing Reports
C++20 Contracts (2)
Taught by
ACCU Conference