|
|
|
|
|
by jandrewrogers
413 days ago
|
|
FWIW, stack traces are part of C++ now and you can construct custom error types that automagically attach them if desired. Result types largely already exist in recent C++ editions if you want them. I use completely custom error handling stacks in C++ and they are quite slick these days, thanks to improvements in the language. |
|
With Rust Result and powerful macros it easier to implement.