diff --git a/src/Error.cpp b/src/Error.cpp index e0fe98a..2e5f4fd 100644 --- a/src/Error.cpp +++ b/src/Error.cpp @@ -193,7 +193,8 @@ const std::vector ts::availableErrors = { {0x1300, "group_invalid_id" , "Invalid group id" }, {0x1301, "group_name_inuse" , "Group name is already in use" }, - {0x1302, "group_not_assigned_over_this_server" , "the group hasn't been assigned over this server" }, + define_error_description(group_not_assigned_over_this_server, "the group hasn't been assigned over this server"), + define_error_description(group_not_empty, "the target group isn't empty"), {0xE000, "resource_limit_reached" , "resource limit reached" }, diff --git a/src/Error.h b/src/Error.h index 27cc0b1..9036de6 100644 --- a/src/Error.h +++ b/src/Error.h @@ -191,6 +191,7 @@ namespace ts { group_invalid_id = 0x1300, group_name_inuse = 0x1301, group_not_assigned_over_this_server = 0x1302, + group_not_empty = 0x1303, conversation_invalid_id = 0x2200, conversation_more_data = 0x2201,