[python-win32] Friendlier pywintypes.com_error messages
Brad Johnson
Brad.Johnson at ballardtech.com
Fri Aug 8 21:32:05 CEST 2008
I am using pywin32 scripting as a client to my C++ COM application. Many of my
functions in C++ are returning errors such as E_FAIL, E_POINTER, E_INVALIDARG,
etc...
However, the error message in Python is often cryptic such as a simple
"Exception occurred" with the error code.
I suppose I could handle these exceptions and somehow post my own strings as the
error message, but I figured I'd ask if there is a list of supported error codes
that give more information.
More information about the python-win32
mailing list