code: def build_error(error):
      return html.Div(
          [html.I(className="ico-error"), html.Span(error)],
          className="dtale-alert alert alert-danger",
      )
  
file_path: dtale/dtale/dash_application/extended_aggregations.py
imports: import dash_bootstrap_components
  from dash.dependencies import Input, Output, State
  from dtale.charts.utils import AGGS, NON_EXT_AGGREGATION
  from dtale.dash_application import dcc, html
  from dtale.dash_application.exceptions import DtalePreventUpdate
  from dtale.dash_application.layout.utils import build_hoverable, build_input, build_option, show_style
  from dtale.translations import text
  from dtale.utils import make_list
label_desc: Use image node_id 1 for calling a global function with example usage: build_error(error) and returns: html