def onError(self, error):
    '错误信息推送'
    event1 = Event(type_=EVENT_ERROR)
    event1.dict_['data'] = error
    self.eventEngine.put(event1)
错误信息推送
def onError(self, error):
    
    event1 = Event(type_=EVENT_ERROR)
    event1.dict_['data'] = error
    self.eventEngine.put(event1)