code: def __init__(self, message, extended_message=""):
      super(Error, self).__init__(
          parent=None,
          message=message,
          style=wx.CANCEL | wx.ICON_EXCLAMATION,
      )
  
      self.SetExtendedMessage(extended_message)
  
      self.SetOKLabel("Continue Processing")
  
      self.status = self.ShowModal()
  
      self.Destroy()
  
file_path: CellProfiler/src/frontend/cellprofiler/gui/dialog.py
imports: import wx
  import wx.adv
  from cellprofiler import __version__
  from cellprofiler.gui.utilities.icon import get_cp_icon
label_desc: Use image node_id 1 to create a new Error object from inherited base classes: wx with example: obj = Error(message, extended_message)