def label_func(s, label=label):
                self.set_label(s, label)
def get_except(self, func, *args):
        try:
            func(*args)
        except Exception as detail:
            return detail.__class__, str(detail)