9 #include <boost/python/exception_translator.hpp> 20 PyErr_SetString(PyExc_RuntimeError, e.
what());
25 if(check_registration<eigenpy::Exception>())
return;
27 pyType = boost::python::class_<eigenpy::Exception>
28 (
"Exception",boost::python::init<std::string>())
32 boost::python::register_exception_translator<eigenpy::Exception>
std::string copyMessage() const
static void translateException(Exception const &e)
const char * what() const
static void registerException()