Commits

Anonymous committed b40ec74

Added type output as debug info

Comments (0)

Files changed (1)

pygen/qndispatch/qndispatch.py

             if isinstance(arg, reg_arg):
                 return reg_func
 
-        raise InvalidArgException("No function found.")
+        raise InvalidArgException("No function found for type %s." % str(type(arg)))
 
     def register(self, func, arg):
         '''Register a new function with the dispatcher'''