default Message newResponse(final Message parent, final RaftError error, final String fmt, final Object... args) {
        return newResponse(parent, error.getNumber(), fmt, args);
    }
Creates an error response with parameters.

@param parent parent message
@param error  error with raft info
@param fmt    message with format string
@param args   arguments referenced by the format specifiers in the format string
@return a response instance
jraft-core/src/main/java/com/alipay/sofa/jraft/rpc/RpcResponseFactory.java