[Zope] handling exceptions in DTML

Jordan B. Baker jbb@spyderlab.com
Tue, 23 Mar 1999 23:14:36 -0500 (EST)


Beyond writing an ExternalMethod, is there a good way to catch exceptions?

For example, I have a database application that looks pretty ugly if
someone attempts to add a duplicate key to the database.  Ideally, I'd use
a <!--#try--><!--#/try--> tag to trap exceptions and to provide handlers
for them.

Anyone have any thoughts on this?

-------
Jordan B. Baker -- jbb@spyderlab.com
weaving the web @ http://www.spyderlab.com