File indexing completed on 2025-01-18 09:51:03
0001 #ifndef BOOST_QVM_ERROR_HPP_INCLUDED
0002 #define BOOST_QVM_ERROR_HPP_INCLUDED
0003
0004
0005
0006
0007
0008
0009 #include <exception>
0010
0011 namespace boost { namespace qvm {
0012
0013 struct
0014 error:
0015 std::exception
0016 {
0017 char const *
0018 what() const throw()
0019 {
0020 return "Boost QVM error";
0021 }
0022
0023 ~error() throw()
0024 {
0025 }
0026 };
0027
0028 struct zero_determinant_error: error { };
0029 struct zero_magnitude_error: error { };
0030
0031 } }
0032
0033 #endif