Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-09-17 08:49:46

0001 #ifndef BOOST_QVM_ERROR_HPP_INCLUDED
0002 #define BOOST_QVM_ERROR_HPP_INCLUDED
0003 
0004 // Copyright 2008-2024 Emil Dotchevski and Reverge Studios, Inc.
0005 // Distributed under the Boost Software License, Version 1.0. (See accompanying
0006 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
0007 
0008 #include <exception>
0009 
0010 namespace boost { namespace qvm {
0011 
0012 struct
0013 error:
0014     std::exception
0015     {
0016     char const *
0017     what() const throw()
0018         {
0019         return "Boost QVM error";
0020         }
0021 
0022     ~error() throw()
0023         {
0024         }
0025     };
0026 
0027 struct zero_determinant_error: error { };
0028 struct zero_magnitude_error: error { };
0029 
0030 } }
0031 
0032 #endif