public boolean isSuccess() {
        return error == Errors.NONE;
    }
RPC response header

@author jiachun.fjc
jraft-rheakv/rheakv-core/src/main/java/com/alipay/sofa/jraft/rhea/cmd/pd/BaseResponse.java