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

That's exactly what I did, but my view wasn't used.

Why is that? What magic is making view lookup for exceptions behave 
differently from normal view lookups?


Zope-Dev maillist  -
**  No cross posts or HTML encoding!  **
(Related lists - )

Reply via email to