[Zope] error_type in Python Script?

Kyler Laird Kyler@Lairds.com
Wed, 24 Jul 2002 11:46:41 -0500


Within an except: block, how do I find the type of
exception that was raised?  In plain Python, it is
sys.exc_type.  In DTML, it's error_type.  I do not
see how to get it in a Python Script.

I looked for the answer on the Web with no joy.  A
pointer to where I should have looked will be
appreciated.

Thank you.

--kyler