from typing import Callable


def raise_not_implemented_gen(message: str) -> Callable[[], None]:
    """
    Make a function that will raise a NotImplemented error with a custom
    message
    """

    def not_implemented() -> None:
        raise NotImplementedError(message)

    return not_implemented