Table of Contents

Module: DT_Raise qm/external/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-->

Classes   

Raise


Table of Contents

This document was automatically generated on Mon Jan 3 09:42:36 2005 by HappyDoc version 2.1