edits
[iotcloud.git] / version2 / src / C / Error.h
index 7fcd2a9eccc353866e84b1f75660f43300772d5e..106ae8ee02b1a6fc942980fd4cc7290bfbeeb1a4 100644 (file)
@@ -5,13 +5,24 @@ public:
        Error(const char *msg) {}
 };
 
+class SocketTimeoutException {
+public:
+private:
+};
+
 class Exception {
 public:
        Exception(const char *msg) {}
 };
 
+#define ServerException_TypeInputTimeout 1
+#define ServerException_TypeConnectTimeout 2
+#define ServerException_TypeSalt 3
+
 class ServerException {
+       char type;
 public:
-       ServerException(const char *msg) {}
+       ServerException(const char *msg, char _type) : type(_type) {}
+       char getType() {return type;}
 };
 #endif