function resizeCallback() {
    errorPanelScroller.style.maxHeight = `${Math.max(
      Math.round(element.clientHeight * 0.9 - 100),
      30,
    )}px`;
  }
Show an error panel to the user containing a title and a longer error message,
which can be dismissed using an OK button.  This panel is displayed automatically
when a render loop error occurs, if showRenderLoopErrors was not false when the
widget was constructed.

@param {string} title The title to be displayed on the error panel.  This string is interpreted as text.
@param {string} [message] A helpful, user-facing message to display prior to the detailed error information.  This string is interpreted as HTML.
@param {string} [error] The error to be displayed on the error panel.  This string is formatted using {@link formatError} and then displayed as text.