code: @Override
      public void failWithError(final String name, final Throwable error) {
          logger.error("HealthService::fail() {}", name);
  
  
          super.incrementCount("fail");
  
          final NodeHealthStat nodeHealthStat = getServiceHealthStat(name);
  
          nodeHealthStat.setStatus(HealthStatus.FAIL);
          nodeHealthStat.setReason(HealthFailReason.ERROR);
          nodeHealthStat.setLastCheckIn(super.time);
          nodeHealthStat.setError(error);
  
          onFail.ifPresent(checkIn -> checkIn.accept(BeanUtils.copy(nodeHealthStat)));
  
      }
docs: Fail the node for the service with a specific status.
  
  @param name  name
  @param error error