code: def test_create_exception_default_constructor(self):
      class CustomError(Exception):
          pass
  
      em = error_utils.ErrorMetadataBase(
          callsite_tb=(),
          cause_metadata=None,
          cause_message="test message",
          source_map={},
          converter_filename=None,
      )
      exc = em.create_exception(CustomError())
      self.assertIsInstance(exc, CustomError)
      self.assertIn("test message", str(exc))
  
file_path: tensorflow/tensorflow/python/autograph/pyct/error_utils_test.py
imports: import re
  from tensorflow.python.autograph.pyct import error_utils
  from tensorflow.python.autograph.pyct import origin_info
  from tensorflow.python.platform import test
label_desc: Use image node_id 1 for calling the ErrorMetadataBaseTest obj's underlying member method code with example usage: obj.test_create_exception_default_constructor() without return types