Boost
C++ Libraries
...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
This is an older version of Boost and was released in 2018. The current version is 1.90.0.
boost::contract::exception — Public base class for all exceptions directly thrown by this library.
// In header: <boost/contract/core/exception.hpp> class exception { public: // construct/copy/destruct ~exception(); };
This class does not inherit from std::exception because exceptions deriving from this class will do that (inheriting from std::exception, std::bad_cast, etc.).
See Also:
boost::contract::assertion_failure, boost::contract::bad_virtual_result_cast, etc.