[Zope-dev] Using views for exceptions in Zope 2.12?

Sidnei da Silva sidnei.da.silva at gmail.com
Sat May 9 23:04:11 EDT 2009


On Sat, May 9, 2009 at 12:52 PM, Chris Withers <chris at simplistix.co.uk> wrote:
> Hmm, so I would I register different views for a KeyError versus an
> AttributeError?

I believe you need to make KeyError implement an interface to be able
to register a view for it. What use would be a view for KeyError
anyway. *wink*

-- 
Sidnei da Silva
Canonical Ltd.
 Landscape · Changing the way you manage your systems
http://landscape.canonical.com


More information about the Zope-Dev mailing list