[ZOPE] newbie q: standard_error_message

Dylan Reinhardt zope@dylanreinhardt.com
Sun, 09 Feb 2003 20:57:26 -0800


1. Create a new method
2. Call it standard_error_message
3. Incorporate whatever header, footer, and other stuff you want.

One thing to bear in mind when you create your own error messages: test the 
heck out of what you're using.  If your error messages causes errors, 
you'll clobber your original exception and will have much more difficulty 
obtaining a decent traceback.

HTH,

Dylan


At 05:00 PM 2/9/2003, Sungmook Kim wrote:
>hi all,
>
>how do i create my own standard_error_message with my
>own header and footer?
>
>thanks!
>
>__________________________________________________________________
>
>Gesendet von Yahoo! Mail - http://mail.yahoo.de
>Bis zu 100 MB Speicher bei http://premiummail.yahoo.de
>
>_______________________________________________
>Zope maillist  -  Zope@zope.org
>http://mail.zope.org/mailman/listinfo/zope
>**   No cross posts or HTML encoding!  **
>(Related lists -
>  http://mail.zope.org/mailman/listinfo/zope-announce
>  http://mail.zope.org/mailman/listinfo/zope-dev )