parameters: (self, error)
docstring: Called on fatal websocket errors. We exit on these.
docstring_summary: Called on fatal websocket errors. We exit on these.
docstring_tokens: Called on fatal websocket errors . We exit on these .
function: def __on_error(self, error):
          '''Called on fatal websocket errors. We exit on these.'''
          if not self.exited:
              self.logger.error("Error : %s" % error)
              raise websocket.WebSocketException(error)
function_tokens: def __on_error ( self , error ) : if not self . exited : self . logger . error ( "Error : %s" % error ) raise websocket . WebSocketException ( error )