_pyCheckAndRaiseException#

Fully qualified name: usd_optimize::_pyCheckAndRaiseException

void usd_optimize::_pyCheckAndRaiseException()#

Checks if a Python exception has been raised and, if so, raises a std::runtime_error with the message of the python exception.

Note

This clears the raised Python exception.