code: def assert_data_error(
      condition: Any, message: str, *args, **kwargs
  ) -> None:
      """
      Delegates to :func:`assert_gluonts` with a fixed ``exception_class`` value
      of ``GluonTSDataError``.
  
      Parameters
      ----------
      condition
          The condition that must be violated in order to raise the exception.
      message
          A message to pass as the only argument to the exception initializer.
      args
          An optional list of positional arguments to use when formatting the
          exception message.
      kwargs
          An optional list of key-value arguments to use when formatting the
          exception message.
      """
      assert_gluonts(
          GluonTSDataError, condition, message, *args, **kwargs
      )
  
file_path: gluonts/src/gluonts/exceptions.py
imports: from typing import Any
  from gluonts.pydantic import ValidationError, display_errors
label_desc: Use image node_id 2 for calling a global function with example usage: assert_data_error(condition, message) without return types