public static void setErrorGUIEnabled(boolean enable) {
		ErrorDisplay display = enable ? new DockingErrorDisplay() : new ConsoleErrorDisplay();

		// this wrapper will catch errors in non-test code and report them to the test framework
		ERROR_DISPLAY_WRAPPER.setErrorDisplayDelegate(display);
		Msg.setErrorDisplay(ERROR_DISPLAY_WRAPPER);
		useErrorGUI = enable;
	}
By default Ghidra will use a modal error dialog to display errors when running tests.  This
method should be used to disable this feature, as opposed to calling:
<pre>
     Err.setErrorDisplay( new ConsoleErrorDisplay() );
</pre>
@param enable true to use the GUI; false to use the error console
Ghidra/Framework/Docking/src/main/java/docking/test/AbstractDockingTest.java