Boost C++ Libraries of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

QVM: Quaternions, Vectors, Matrices

Exception Types

#include <boost/qvm/error.hpp> 

namespace boost
    namespace qvm
        //*** Exception types ***
        struct error:
            virtual boost::exception,
            virtual std::exception
        struct zero_determinant_error: virtual error { };        
        struct zero_magnitude_error: virtual error { };

See also: Boost QVM | Synopsis