edits
[iotcloud.git] / version2 / src / C / Error.h
index 7fcd2a9eccc353866e84b1f75660f43300772d5e..61f1b6e0ad31d266e818bd71f3b5c809a0045e65 100644 (file)
@@ -10,8 +10,13 @@ public:
        Exception(const char *msg) {}
 };
 
+#define ServerException_TypeInputTimeout 1
+#define ServerException_TypeConnectTimeout 2
+
 class ServerException {
 public:
-       ServerException(const char *msg) {}
+ ServerException(const char *msg, char _type) : type(_type) {}
+       char getType();
+       char type;
 };
 #endif