diff --git a/include/libnuraft/async.hxx b/include/libnuraft/async.hxx index 654743d2..872db482 100644 --- a/include/libnuraft/async.hxx +++ b/include/libnuraft/async.hxx @@ -264,6 +264,8 @@ public: "Cannot find server."}, {cmd_result_code::CANNOT_REMOVE_LEADER, "Cannot remove leader."}, + {cmd_result_code::SERVER_IS_LEAVING, + "Server is leaving."}, {cmd_result_code::TERM_MISMATCH, "The current term does not match the expected term."}, {cmd_result_code::RESULT_NOT_EXIST_YET,