code: def _verify_exception_hierarchy(
      self, exception, parent_exception, error_code, exception_message
  ):
      assert exception._error_code == error_code
      assert str(exception) == exception_message
      assert isinstance(exception, type(parent_exception))
  
imports: from responsibleai.exceptions import ConfigAndResultMismatchException, DuplicateManagerConfigException, SchemaErrorException, SystemErrorException, UserConfigValidationException, UserErrorException
label_desc: Use image node_id 1 for calling the TestExceptions obj's underlying member method code with example usage: obj._verify_exception_hierarchy(exception, parent_exception, error_code, exception_message) without return types