class_docstr: This websocket client class is designed to be running in a separate thread and for that reason
  events are pushed into a queue.
class_docstr_tok: ["This","websocket","client","class","is","designed","to","be","running","in","a","separate","thread","and","for","that","reason","events","are","pushed","into","a","queue","."]
code: def onError(self, event):
      common.logger.error("Error: %s" % (event))
  
imports: import datetime
  from six.moves import queue
  from pyalgotrade.websocket import pusher
  from pyalgotrade.websocket import client
  from pyalgotrade.bitstamp import common
label_desc: Use image node_id 6 for calling the WebSocketClient obj's underlying member method code with example usage: obj.onError(event) without return types