Overview
Explore error handling techniques in C++ through this comprehensive conference talk. Learn about the challenges of writing resilient code and the limitations of traditional exception handling. Discover how to combine theoretical and practical approaches to create a unified solution for error codes and exceptions using the generic type Expected. Examine the benefits of local and centralized error handling methods, and understand how this approach can improve code efficiency and readability. Delve into topics such as exception aftermath, optional values, and promising futures. Gain insights into implementing the Expected type, handling unexpected scenarios, and applying centralized error management in your C++ projects.
Syllabus
Intro
Discussing Exceptions
Discussing Error Handling
Discussing Special Values
Exceptions
Expected vs Unexpected
Exception Handling
Exception Aftermath
Optional
Promising Future
Defining Expected
Implementation
Value
Swap
Typical Years
Unexpected
centralized use
Taught by
NDC Conferences