def __init__(self, widget, errors):
    super(WidgetDataError, self).__init__(str(errors))
    self.widget = widget
    self.errors = errors
def __init__(self, widget, errors):
    super(WidgetDataError, self).__init__(str(errors))
    self.widget = widget
    self.errors = errors