code: def _compose_error_message(key: str, supported_parameters: list):
      """Creates the error message depending on the number of supported parameters available."""
      error_message = f'Parameter "{key}" is not supported. Expected '
  
      if len(supported_parameters) > 1:
          supported_parameters.sort()
          error_message += f"one of {supported_parameters}."
      else:
          error_message += f'parameter "{supported_parameters[0]}".'
  
      return error_message
  
file_path: orion/src/orion/serving/parameters.py
imports: from typing import List, Optional
  import falcon
  from orion.benchmark import Benchmark
  from orion.benchmark.benchmark_client import get_or_create_benchmark
  from orion.core.io import experiment_builder
  from orion.core.utils.exceptions import NoConfigurationError
  from orion.core.worker.experiment import Experiment
  from orion.core.worker.trial import Trial
  from orion.serving.responses import ERROR_BENCHMARK_NOT_FOUND, ERROR_BENCHMARK_STUDY_NOT_FOUND, ERROR_EXPERIMENT_NOT_FOUND, ERROR_INVALID_PARAMETER, ERROR_TRIAL_NOT_FOUND
label_desc: Use image node_id 3 for calling a global function with example usage: _compose_error_message(key, supported_parameters) and returns: error_message