aboutsummaryrefslogtreecommitdiffstats
path: root/src/command/CommandError.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/command/CommandError.cxx')
-rw-r--r--src/command/CommandError.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/command/CommandError.cxx b/src/command/CommandError.cxx
index c94ffea63..89085fc68 100644
--- a/src/command/CommandError.cxx
+++ b/src/command/CommandError.cxx
@@ -112,6 +112,10 @@ print_error(Client &client, const Error &error)
case DB_NOT_FOUND:
command_error(client, ACK_ERROR_NO_EXIST, "Not found");
return CommandResult::ERROR;
+
+ case DB_CONFLICT:
+ command_error(client, ACK_ERROR_ARG, "Conflict");
+ return CommandResult::ERROR;
}
#endif
} else if (error.IsDomain(errno_domain)) {