> Is it possible to create a C++ to python exception translator that
> raises a custom python exception?
> I know you can use register_exception_translator to translate from a c++
> exception to a standard python exception, but is it possible to raise a
> user-defined exception?
I think a translator something like this might work: