def __init__(self, msg="unknown reason", **kwds):
self.msg = msg
self.__dict__.update(kwds)
def __repr__(self):
return "Broken: %s" % (self.msg,)