handle_exception

This function first checks if a Python exception is set, and then (if one is) pulls it out, stuffs it in a PythonException, and throws that exception.

If this exception is never caught, it will be handled by exception_catcher (below) and passed right back into Python as though nothing happened.

void
handle_exception
(
string file = __FILE__
,
size_t line = __LINE__
)

Meta