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

YouTube

Robust C++ Error Handling in C++26

CppCon via YouTube

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Learn robust error handling strategies in C++ through this conference talk from CppCon 2025. Discover a proven approach to determining which errors deserve handling and the most effective methods for addressing them, enabling you to write more reliable software with reduced complexity. Explore the balance between ignoring errors (which leads to unreliable programs) and over-handling every conceivable error (which introduces unnecessary complexity). Master the latest C++23 and C++26 error handling improvements including std::stacktrace for better debugging information, std::expected for elegant error propagation, contracts for compile-time guarantees, and library hardening features for enhanced runtime safety. Gain practical insights on implementing these modern features to catch more errors early, report them effectively, and fix them efficiently. The presentation draws from real-world experience at think-cell, providing battle-tested strategies for production C++ development. Access the accompanying slides and learn from Sebastian Theophil's extensive experience in C++ development since 2002, including his work on cross-platform porting and his regular contributions to international C++ conferences.

Syllabus

Robust C++ Error Handling in C++26 - Sebastian Theophil - CppCon 2025

Taught by

CppCon

Reviews

Start your review of Robust C++ Error Handling in C++26

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.