class SchemaIndexCacheCompoundFuture extends GridCompoundFuture<SchemaIndexCacheStat, SchemaIndexCacheStat> {
    /** Container for the first index rebuild error. */
    private final AtomicReference<Throwable> errRef = new AtomicReference<>();

    /** {@inheritDoc} */
    @Override protected boolean ignoreFailure(Throwable err) {
        errRef.compareAndSet(null, err);

        return true;
    }

    /** {@inheritDoc} */
    @Override public Throwable error() {<FILL_FUNCTION_BODY>}
}

        Throwable err0 = super.error();
        Throwable err1 = errRef.get();

        if (err0 != null && err1 != null)
            err0.addSuppressed(err1);

        return err0 != null ? err0 : err1;
    
<methods>public void <init>() ,public void <init>(IgniteReducer<org.apache.ignite.internal.processors.query.schema.SchemaIndexCacheStat,org.apache.ignite.internal.processors.query.schema.SchemaIndexCacheStat>) ,public final GridCompoundFuture<org.apache.ignite.internal.processors.query.schema.SchemaIndexCacheStat,org.apache.ignite.internal.processors.query.schema.SchemaIndexCacheStat> add(IgniteInternalFuture<org.apache.ignite.internal.processors.query.schema.SchemaIndexCacheStat>) ,public final void apply(IgniteInternalFuture<org.apache.ignite.internal.processors.query.schema.SchemaIndexCacheStat>) ,public boolean cancel() throws org.apache.ignite.IgniteCheckedException,public final Collection<IgniteInternalFuture<org.apache.ignite.internal.processors.query.schema.SchemaIndexCacheStat>> futures() ,public final boolean initialized() ,public final GridCompoundFuture<org.apache.ignite.internal.processors.query.schema.SchemaIndexCacheStat,org.apache.ignite.internal.processors.query.schema.SchemaIndexCacheStat> markInitialized() ,public java.lang.String toString() <variables>private static final AtomicIntegerFieldUpdater<GridCompoundFuture#RAW> FLAGS_UPD,private static final int INIT_FLAG,private static final AtomicIntegerFieldUpdater<GridCompoundFuture#RAW> LSNR_CALLS_UPD,private final java.util.concurrent.locks.ReentrantReadWriteLock compoundsLock,private volatile java.lang.Object futs,private volatile int initFlag,private volatile int lsnrCalls,private final non-sealed IgniteReducer<org.apache.ignite.internal.processors.query.schema.SchemaIndexCacheStat,org.apache.ignite.internal.processors.query.schema.SchemaIndexCacheStat> rdc,private static final long serialVersionUID,private volatile int size