[Zope] Handling exceptions in dtml

Sven Rudolph rudolph@medical-tribune.de
Thu, 29 Aug 2002 13:31:19 +0200


Hello all,

I have a question about handling exceptions in dtml.

The usual way to do this is:
<dtml-try>
 <some_code>
<dtml-except>
 <some_code_in_case_of_any_exception> 
</dtml-try>

What I want to do is let <some_code_in_case_of_any_exception> tell what the exception was.
I tried <dtml-var error_type> and <dtml-var error_value> in <some_code_in_case_of_any_exception>.

What I want to now is, is there a way to get an even more detailed error message at this point?

Thanks in advance

Sven

-- 
Sven Rudolph, Programmierer
GermanMedicalServices.de GmbH
Unter den Eichen 5, 65195 Wiesbaden
Tel.: 06 11 / 97 46 25 2