title: boost::python export custom exception and inherit from Python's Exception
body: <p>The accepted answer to <a href="https://stackoverflow.com/questions/2261858/boostpython-export-custom-exception">boost::python Export Custom Exception</a> shows how to export a custom exception class from C++, and <a href="https://stackoverflow.com/questions/9620268/boost-python-custom-exception-class">Boost.Python custom exception class</a> shows how to export an exception class that inherits from Python's Exception. How can I do both? That is expose an exception class that has custom methods to retrieve information and also have that class be derived from Python's Exception.</p>