async def corofunc(**local_args):
            nonlocal called
            assert local_args == args
            called += 1
def get_except(self, func, *args):
        try:
            func(*args)
        except Exception as detail:
            return detail.__class__, str(detail)