docs: @SuppressWarnings("unchecked")
    public S handleIf(BiPredicate<R, ? extends Throwable> resultPredicate) {
      Assert.notNull(resultPredicate, "resultPredicate");
      failuresChecked = true;
      failureConditions.add((BiPredicate<R, Throwable>) resultPredicate);
      return (S) this;
    }