[Zope] Errors

Stephen Pitts smpitts@midsouth.rr.com
Fri, 3 Dec 1999 18:03:47 -0600


On Fri, Dec 03, 1999 at 04:53:16PM -0600, Daniel G. Rusch wrote:
> What is the defintion of (or where can I find one):
> 1. KeyError
Raised when a key cannot be found in a dictionary

> 2. AttributeError 
Raised when a one of an object's attributes ( == properties) cannot be
found or assigned to.

> 3. NameError
Raised when a variable name is not found in the namespace.

> 
> Thanks,
> 
> DR
> 

Zope is built on (and mostly written in) the language Python, and all of
these errors are Python exceptions. These three (and many more) are
documented at http://www.python.org/doc/current/lib/module-exceptions.html
-- 
Stephen Pitts
smpitts@midsouth.rr.com
webmaster - http://www.mschess.org