code: public void error(String key, Object... params) {
          Tr.error(tc, key, params);
      }
docs: Log an error message.
  
  @param key message key for the application manager messages file.
  @param params message parameters.