On May 9, 2009, at 11:52 AM, Chris Withers wrote:
> Hanno Schlichting wrote:
>> Try following the description given in the changelog at
>> "Zope 3-based exception views".
> Hmm, so I would I register different views for a KeyError versus an
Not unless you actually need different views for them, which you
In my experience, you only need a few, as described in change notes.
One additional one that isn't mentioned in the change notes but that I
use a lot is UserError (zope.exceptions.UserError). This is an
exception to raise when you want to display an end-user error message.
Most exceptions are really application errors and should be handled by
a view for Exception that displays a system error message.
Zope-Dev maillist - Zope-Dev@zope.org
** No cross posts or HTML encoding! **
(Related lists -