As well as passing exceptions raised by other functions back to the Python system, you can also quite easily raise exceptions directly using; void PyErr_SetString(PyObject *type, const char *message) ...
Results that may be inaccessible to you are currently showing.
Hide inaccessible results