public Copier setWriteErrorHandler(WriteErrorHandler writeErrorHandler) {
            this.writeErrorHandler = writeErrorHandler;
            return this;
        }
Set the error handler.

@param writeErrorHandler A handler that will be called any time we hit an exception
                         writing out a meta.properties file.
metadata/src/main/java/org/apache/kafka/metadata/properties/MetaPropertiesEnsemble.java