class_docstr: An exception wrapping a Pydantic ``ValidationError``, usually thrown when
  the validation of a :func:`~gluonts.core.component.validated` initializer
  fails.
class_docstr_tok: ["An","exception","wrapping","a","Pydantic","``","ValidationError","``",",","usually","thrown","when","the","validation","of","a",":","func",":","`","~gluonts.core.component.validated","`","initializer","fails","."]
code: def __str__(self, *args, **kwargs):
      return (
          "The following errors occurred when trying to "
          "validate the algorithm hyperparameters:\n"
          f"{display_errors(self.__cause__.errors())}"
      )
  
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 1 for calling the GluonTSHyperparametersError obj's underlying member method code with example usage: obj.__str__() and returns: str, display_errors