def on_error(self, headers, body):
        log.info("received an error %s [%s]", body, headers)
        self.errors += 1
Increment the error count. See :py:meth:`ConnectionListener.on_error`
dataset/ETHPy150Open jasonrbriggs/stomp.py/stomp/listener.py/StatsListener.on_error