code: def _format_parameter_error_message(name: str, sig: Signature,
                                      num_params: int) -> str:
      
      if num_params == 0:
          plural = 's'
          missing = 2
          arguments = "'slack' and 'event'"
      else:
          plural = ''
          missing = 1
          arguments = "'event'"
  
      return (f"{name}{sig} missing {missing} required positional "
              f"argument{plural}: {arguments}")
docs: Format an error message for missing positional arguments.
  
      Args:
          name: The function name.
          sig: The function's signature.
          num_params: The number of function parameters.
  
      Returns:
          str: A formatted error message.