summaryrefslogtreecommitdiffstats
path: root/src/Core/Exception.cpp
diff options
context:
space:
mode:
authorMatthias Schiffer <matthias@gamezock.de>2009-07-07 18:51:35 +0200
committerMatthias Schiffer <matthias@gamezock.de>2009-07-07 18:51:35 +0200
commitc4cbe4a94fd63e0da6e291a481b9a9ccc71e7843 (patch)
tree54fc3c43aec1b08f6918add662574b35a355e363 /src/Core/Exception.cpp
parentf2f1d5b1da4f985bcbb0c075cf42efcacecae2a6 (diff)
downloadmad-c4cbe4a94fd63e0da6e291a481b9a9ccc71e7843.tar
mad-c4cbe4a94fd63e0da6e291a481b9a9ccc71e7843.zip
Added add_user command to client & UserBackendMysql
Diffstat (limited to 'src/Core/Exception.cpp')
-rw-r--r--src/Core/Exception.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Core/Exception.cpp b/src/Core/Exception.cpp
index 1a71ebd..0e086d5 100644
--- a/src/Core/Exception.cpp
+++ b/src/Core/Exception.cpp
@@ -53,6 +53,8 @@ std::string Exception::strerror() const {
return ret + "The host is already identified";
case UNKNOWN_DAEMON:
return ret + "The daemon is unknown";
+ case DUPLICATE_ENTRY:
+ return ret + "Duplicate entry";
default:
return ret + "Unknown error";
}