Package genshi :: Package template :: Module eval :: Class UndefinedError

Class UndefinedError



exceptions.Exception --+        
                       |        
      base.TemplateError --+    
                           |    
   base.TemplateRuntimeError --+
                               |
                              UndefinedError

Exception thrown when a template expression attempts to access a variable not defined in the context.


See Also: LenientLookup, StrictLookup

Instance Methods
 
__init__(self, name, owner=object())
Create the exception.

Inherited from exceptions.Exception: __getitem__, __str__

Instance Variables

Inherited from base.TemplateError: filename, lineno, msg, offset

Method Details

__init__(self, name, owner=object())
(Constructor)

 
Create the exception.
Overrides: base.TemplateError.__init__
(inherited documentation)