Sidnei da Silva wrote:
> On Sat, May 9, 2009 at 12:52 PM, Chris Withers <ch...@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*
> 

It's perfectly possible to register a view for a class instead of an 
interface. (Not that I am familiar with the new views for errors stuff).

Laurence

_______________________________________________
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )

Reply via email to