123456789101112131415161718192021222324252627282930313233 |
- #ifndef BOOST_QVM_ERROR_HPP_INCLUDED
- #define BOOST_QVM_ERROR_HPP_INCLUDED
- #include <exception>
- namespace boost { namespace qvm {
- struct
- error:
- std::exception
- {
- char const *
- what() const throw()
- {
- return "Boost QVM error";
- }
- ~error() throw()
- {
- }
- };
- struct zero_determinant_error: error { };
- struct zero_magnitude_error: error { };
- } }
- #endif
|