def __init__(self, filename=None):
        self.filename = None
        if filename:
            self.load(filename)
def get_except(self, func, *args):
        try:
            func(*args)
        except Exception as detail:
            return detail.__class__, str(detail)