class_docstr: Raised when the wrong dimensions were supplied.
class_docstr_tok: ["Raised","when","the","wrong","dimensions","were","supplied","."]
code: def __str__(self):
      return f"Expected dimensions dictionary with keys {self.expected} but got keys {self.given}"
  
file_path: pykeen/src/pykeen/models/resolve.py
imports: import logging
  from typing import Any, Mapping, Optional, Sequence, Tuple, Type, Union
  from class_resolver import OptionalKwargs
  from .nbase import ERModel
  from ..nn.modules import Interaction, interaction_resolver
  from ..typing import HeadRepresentation, RelationRepresentation, TailRepresentation
label_desc: Use image node_id 2 for calling the DimensionError obj's underlying member method code with example usage: obj.__str__() and returns: str, self, str, self