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