code: def raise_enum_error(arg_name, arg_value, options):
      raise Exception(
          "The provided argument {} with value {} isn't within {}".format(
              arg_name, arg_value, options
          )
      )
  
file_path: torch-points3d/torch_points3d/applications/modelfactory.py
imports: from enum import Enum
  from omegaconf import DictConfig
  import logging
  from torch_points3d.utils.model_building_utils.model_definition_resolver import resolve
label_desc: Use image node_id 1 for calling the ModelFactory obj's underlying member method code with example usage: obj.raise_enum_error(arg_name, arg_value, options) without return types