def set_module_error(self, moduleId, error, errorTrace=None):
        QtGui.QApplication.postEvent(self,
                                     QModuleStatusEvent(moduleId, 1, error,
                                                        errorTrace=errorTrace))
        QtCore.QCoreApplication.processEvents()
Validates that a specified value is valid for this trait.
dataset/ETHPy150Open VisTrails/VisTrails/vistrails/gui/pipeline_view.py/QPipelineScene.set_module_error--crossover with--dataset/ETHPy150Open enthought/traits/traits/trait_types.py/BaseFile.validate