diff options
Diffstat (limited to 'Slimber/ServerError.h')
m--------- | Slimber | 0 | ||||
-rw-r--r-- | Slimber/ServerError.h | 31 |
2 files changed, 0 insertions, 31 deletions
diff --git a/Slimber b/Slimber new file mode 160000 +Subproject 723115ef8542c640580ea4751fca3c359a79dec diff --git a/Slimber/ServerError.h b/Slimber/ServerError.h deleted file mode 100644 index ce293c2..0000000 --- a/Slimber/ServerError.h +++ /dev/null @@ -1,31 +0,0 @@ -#pragma once - -#include "Swiften/Base/String.h" - -namespace Swift { - class ServerError { - public: - enum Type { - C2SPortConflict, - C2SError, - LinkLocalPortConflict, - LinkLocalError - }; - - ServerError(Type type, const String& message = String()) : - type(type), message(message) { - } - - Type getType() const { - return type; - } - - const String& getMessage() const { - return message; - } - - private: - Type type; - String message; - }; -} |