code: def __init__(self, error):
      self.code = getattr(error, "code", -1)
      self.message = getattr(error, "message", str(error))
  
file_path: milvus/tests/python_client/utils/api_request.py
imports: import traceback
  import copy
  import os
  from utils.util_log import test_log
label_desc: Use image node_id 1 to create a new Error object  with example: obj = Error(error)