Commits

ebo  committed b40ec74

Added type output as debug info

  • Participants
  • Parent commits 72fbd38

Comments (0)

Files changed (1)

File 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'''