def on_exception(self, exc, next_delay):
        if isinstance(exc, AuthenticationFailed):
            return False
        else:
            return True
Called when an Exception is raised when trying to connect.
dataset/ETHPy150Open datastax/python-driver/cassandra/pool.py/_ReconnectionHandler.on_exception