

def error(self, excp):
    " Handles an error that occurs while setting the object's trait value.\n        "
    if (self._error is None):
        self._error = True
        excp.ui.errors += 1
    self.set_error_state(True)

dataset/ETHPy150Open enthought/traitsui/traitsui/wx/text_editor.py SimpleEditor.error/VarMisuse@31/64 `self`->`excp`