code: public void onCommandException(CommandResponse response) {
  		String message = I18nProvider.getGlobal().commandError() + ":";
  		for (String error : response.getErrorMessages()) {
  			message += "\n" + error;
  		}
  		Log.logWarn(message);
  		if (response.getExceptions() == null || response.getExceptions().size() == 0) {
  			SC.warn(message);
  		} else {
  			// The error messaging window only supports 1 exception to display:
  			ExceptionWindow window = new ExceptionWindow(response.getExceptions().get(0));
  			window.show();
  		}
  	}
docs: Default behaviour for handling a command execution exception. Shows an exception report to the user.
  
  @param response command response with error