parameters: (self, expr, data)
docstring: evalfunc with error-messages
docstring_summary: evalfunc with error-messages
docstring_tokens: evalfunc with error - messages
function: def _eval(self, expr, data):
          """evalfunc with error-messages"""
          try:
              return self.evalfunc(expr, data)
          #TODO: any other errors to catch here?
          except (TypeError,NameError,LookupError,AttributeError, SyntaxError) as err:
              raise TemplateRenderError("Cannot eval expression '%s'. (%s: %s)" %(expr, err.__class__.__name__, err))
function_tokens: def _eval ( self , expr , data ) : try : return self . evalfunc ( expr , data ) #TODO: any other errors to catch here? except ( TypeError , NameError , LookupError , AttributeError , SyntaxError ) as err : raise TemplateRenderError ( "Cannot eval expression '%s'. (%s: %s)" % ( expr , err . __class__ . __name__ , err ) )