Back to Docs_main.
pyd.exception
- void 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 the function wrapping template and passed right back into Python as though nothing happened.
- class PythonException: object.Exception;
- This simple exception class holds a Python exception.