title: Boost.Python custom exception class
body: <p>I'm implementing a Python extension module using Boost.Python. The module should define its own custom exception classes that inherit <code>Exception</code>. How do I do that?</p>