[Zope] PyScript Ques

Dieter Maurer dieter@handshake.de
Thu, 27 Jun 2002 20:09:59 +0200


Aseem Mohanty writes:
 > How do I raise and Unauthorized error from within a PyScript?? Can I 
 > even do so??

   raise 'Unauthorized'

Although, string exceptions will become deprecated in future
Python versions...


Dieter