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