def onError(self, source, err): if self.currentTask: msg = errorwin.syncErrorToString(source, err) self.currentTask.errors.add(msg, source, err)
def onError(self, thread, source, err): msg = errorwin.syncErrorToString(source, err) self.errors.add(msg, source, err) self.pendingErrors = True
def addError(self, source, error): if not self.errors: self.m_textErrors.Show() self.Layout() msg = errorwin.syncErrorToString(source, error) self.errors.add(msg, source, error)