Accumulate close errors in custom error type