code: @Override
      public void errormsg(String key, Object... args) {
          if (isRunningInteractive()) {
              rawout(prefixError(messageFormat(key, args)));
          } else {
              startmsg(key, args);
          }
      }
docs: Print error using resource bundle look-up, MessageFormat, and add prefix
  and postfix
  
  @param key the resource key
  @param args