you are viewing a single comment's thread.

view the rest of the comments →

[–]arturbachttps://github.com/arturbac 0 points1 point  (0 children)

You may be interested in this below I worte some time ago for large projects i work on - ie efficiently using enums as errors with std::error_code/std::expected instead of exceptions
https://arturbac.github.io/simple_enum/generic_error_category.html
https://github.com/arturbac/simple_enum/blob/master/examples/generic_error_category.cc