Robust C++ Error Handling in C++26 - Sebastian Theophil - CppCon 2025 @CppCon
Robust C++ Error Handling in C++26 - Sebastian Theophil - CppCon 2025  @CppCon
Uploaded January 2026 | Updated November 2026, 1 day ago
cppcon.org
---

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

Every program may encounter errors, some originating from internal bugs in the program, others coming from the environment the program is operating in. Ignoring all errors will make the program utterly unreliable, while treating every conceivable one introduces lots of extra complexity with little benefit. So which errors should you handle? And how should you handle them? This talk describes our proven approach to error handling so that you can write more reliable software with less effort.

C++23 and C++26 have seen several improvements to C++ error handling: std::stacktrace, std::expected, contracts and library hardening. We will cover these features as well and how to best use them in practice to catch more errors, report them and fix them.

---

Slides: github.com/CppCon/CppCon2025/blob/main/Presentations/To_Err_is_Human.pdf

Work at Hudson River Trading (HRT): tinyurl.com/safxfctf
---

Sebastian Theophil

Sebastian has been working at think-cell since its founding in 2002. In the last few years, among many other things, he has ported think-cell to run on macOS. He enjoys leaving his desk from time to time to talk at international C++ conferences.
---


CppCon is the annual, week-long face-to-face gathering for the entire C++ community. The conference is organized by the C++ community for the community. You will enjoy inspirational talks and a friendly atmosphere designed to help attendees learn from each other, meet interesting people, and generally have a stimulating experience. Taking place this year in Aurora, Colorado, near the Denver airport, and including multiple diverse tracks, the conference will appeal to anyone from C++ novices to experts.
Annual CppCon Conference - cppcon.org
linkedin.com/company/cppcon
https://x.com/cppcon
facebook.com/CppConference
reddit.com/r/cppcon
https://mastodon.social/@CppCon
---

Videos Filmed & Edited by Bash Films: BashFilms.com
YouTube Channel Managed by Digital Medium Ltd: events.digital-medium.co.uk
---

#cpp #cplusplus #cppcon #cppprogramming #cplusplusprogramming #softwaredevelopment #softwareengineering #coding #code #computerscience #technology #technews #programming #programmer
Robust C++ Error Handling in C++26 - Sebastian Theophil - CppCon 2025It’s Dangerous to Go Alone: A Game Developer Tutorial - Michael Price - CppCon 2025Instrumenting the Stack: Strategies for End-to-end Sanitizer Adoption - Damien Buhl - CppCon 2025groov: Asynchronous Handling of Special Function Registers - Michael Caisse - CppCon 2025Is Your C++ Code Leaking Memory? Discover the Power of Ownership-Aware ProfilingLightning Talk: Better Expressiveness with Parallel Range Algorithms - Ruslan ArutyunyanBeyond the Big Green Button: Demystifying the Embedded Build Process - Morten Winkler JørgensenLightning Talk: Strategies for Developing Safety-Critical Software in C++ - Emily Durie-JohnsonConcept-based Generic Programming - Bjarne Stroustrup - CppCon 2025Could C++ Developers Handle an ABI Break Today? - Luis Caro Campos - CppCon 2025Cache Me Maybe: The Performance Secret Every C++ Developer Needs - Michelle DSouza - CppCon 2025Lightning Talk: Customizing Compilation Error Messages Using C++ Concepts - Patrick Roberts
CppCon |

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

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER