code: @SuppressWarnings("rawtypes")
      private ModelAndView buildError(ModelAndView mvc, ResultCode error) {
          mvc.addObject("data", new ArrayList(0));
          mvc.addObject("status", error.getCode());
          Map<String, Object> statusInfo = Maps.newHashMapWithExpectedSize(1);
          statusInfo.put(WebResponseConstant.MESSAGE_GLOBAL, error.getMessage().getMessage());
          mvc.addObject("statusInfo", statusInfo);
          mvc.addObject("msg", error.getMessage().getMessage());
          return mvc;
      }
docs: 构造错误
  
  @param mvc   mvc
  @param error 错误
  
  @return mvc