import time


def get_timeout(max_time):
    """
    Calculates the moment in time when a timeout error should be raised.

    :param max_time: maximum time interval
    :return: the moment in time when the timeout error should be raised
    """
    return time.time() + max_time