def _ws_on_error(self, ws: websocket.WebSocketApp, error: Exception):
        """Callback for receiving errors from the websocket connection

        Args:
            ws: websocket connection
            error: exception raised
        """
        self.logger.error(f'Got error from websocket connection: {str(error)}')
Callback for receiving errors from the websocket connection

        Args:
            ws: websocket connection
            error: exception raised