docs: public static SafeHtml formatErrorHtml(String error) {
  
          String text;
          String cssClass;
          String title = "";
  
          if (error == null) {
              text = CmsAliasMessages.messageStatusOk();
              cssClass = STATUS_OK;
          } else {
              text = CmsAliasMessages.messageStatusError();
              title = SafeHtmlUtils.htmlEscape(error);
              cssClass = STATUS_ERROR;
          }
          String html = "<div class='" + cssClass + "' title='" + title + "'>" + text + "</div>";
          return SafeHtmlUtils.fromSafeConstant(html);
      }