code: def _build_viz_err_obj(err_msg):
      _type = "html"
      figure = _build_error_frame(err_msg)
      viz_figure = {"type": _type, "figure": figure}
  
      viz_obj = {
          "name": "Error",
          "overall": viz_figure,
          "specific": [],
          "selector": {"columns": [], "data": []},
      }
      return viz_obj
  
file_path: interpret/python/interpret-core/interpret/visual/_inline.py
imports: import os
  import time
  import uuid
  from plotly.io import to_json
  from plotly import graph_objs
  import sys
  import json
  import base64
  import logging
label_desc: Use image node_id 5 for calling a global function with example usage: _build_viz_err_obj(err_msg) and returns: viz_obj