[C++-sig] c++ exception handleing

Sean Ross-Ross srossross at gmail.com
Fri Mar 28 22:59:56 CET 2008


Hi, had coded a c++ algorithm that I have just wrapped with boost,  
inside the algorithm I have some python callback functions
when an error is raised in one of the python callbacks, the c++ code  
(file and line number) is obviously not included in the stack trace.
Is there an elegant way to provide the user with more information of  
the exception? perhaps insert the c++ file and line number that the  
python function was called from?

~Sean




More information about the Cplusplus-sig mailing list