def METHOD_NAME(cls, value: typing.Any):
    """A lookup function to handle an invalid value.
    :param value: Provided enum (invalid) value.
    """
    valid_values = list(cls.__members__.keys())
    raise mlrun.errors.MLRunInvalidArgumentError(
        f"{value} is not a valid endpoint store, please choose a valid value: %{valid_values}."
    )