code: def build_exception(exception: Exception):
      return rpc_messages.ExceptionResponse(
          module_name=exception.__class__.__module__,
          class_name=exception.__class__.__name__,
          args=json.dumps(exception.args),
      )
  
imports: import importlib
  import struct
  import json
  from typing import Iterator, Tuple, Union
  import aim.ext.transport.proto.remote_tracking_pb2
  from aim.storage.object import CustomObject
  from aim.storage.types import BLOB
label_desc: Use image node_id 8 for calling a global function with example usage: build_exception(exception) and returns: rpc_messages