Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

A Practical Approach to Error Handling

ACCU Conference via YouTube

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

Reviews

Start your review of A Practical Approach to Error Handling

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.