Using Exceptions for all Error Handling.... in Theory

This page summarizes the projects mentioned and recommended in the original post on /r/cpp

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • snct-constraints

    Prevent whole classes of errors by constraining input parameters

  • This'll require that you write a lot of classes to constrain parameters. May I suggest you don't, and instead use snct::Constrained?

  • exceptxx

    C++ exception handling library

  • Unfortunately I can't post any code as it's not open source. But I'm using exceptions a lot (mostly for checking WinApi and CUDA calls). It's much better than other methods, it provides all necessary information to write to a log and doesn't pollute sources with boilerplate code. I'm throwing and catching exceptions with the help of my own library: https://github.com/SergiusTheBest/exceptxx

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • CIDLib

    The CIDLib general purpose C++ development environment

  • CQC

    CQC (Charmed Quark Controller) a commercial grade, full featured, software based automation system. CQC is built on our CIDLib C++ development system, which is also available here on GitHub.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts