Current exception

Bill Janssen (janssen@parc.xerox.com)
Sat, 9 Oct 1993 20:06:22 PDT

In an exception handler, how does one find out what the exception being
handled was? Is it possible? I'd like to write something like:

try:
foo()
except:
something(e)

where e is the specific exception.

Bill
-------------
Bill Janssen <janssen@parc.xerox.com> (415) 812-4763 FAX: (415) 812-4777
Xerox Palo Alto Research Center, 3333 Coyote Hill Rd, Palo Alto, CA 94304
URL: http://pubweb.parc.xerox.com/hypertext/people/BillJanssen.html