...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
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.