docs: public void handleError(Throwable e, I_CmsErrorCallback callback) {
  
          String errorCode = CmsUgcConstants.ErrorCode.errMisc.toString();
          String message;
          if (e instanceof CmsUgcException) {
              CmsUgcException formException = (CmsUgcException)e;
              errorCode = formException.getErrorCode().toString();
              message = formException.getUserMessage();
          } else {
              message = e.getMessage();
          }
          if (callback != null) {
              callback.call(errorCode, message, JavaScriptObject.createObject());
          }
      }