Table of Contents

Module: DT_Raise Zope-2.2.1-src/lib/python/DocumentTemplate/DT_Raise.py

Raising exceptions

Errors can be raised from DTML using the raise tag.

For example:

    <!--#if expr="condition_that_tests_input"-->
       <!--#raise type="Input Error"-->
           The value you entered is not valid
       <!--#/raise-->
    <!--#/if-->

Imported modules   
from DT_Util import parse_params, name_param, render_blocks, str
Classes   
Raise

Table of Contents

This document was automatically generated on Mon Sep 4 07:33:06 2000 by HappyDoc version r0_6