Removing API def for header-only class ita data log, also a network error excaption code added.

parent 3d6b1178
......@@ -32,7 +32,7 @@
/**
* Realisiert Formattierungsfunktionen fr Konsolen-/Dateiausgabe
*/
ITA_BASE_API class ITALogDataBase
class ITALogDataBase
{
public:
inline virtual ~ITALogDataBase() {};
......
......@@ -44,6 +44,7 @@ public:
PARSE_ERROR,
SYNTAX_ERROR,
CONFIG_ERROR,
NETWORK_ERROR,
LAST,
};
......
......@@ -19,6 +19,9 @@ std::string ITAException::ToString() const
case ITAException::NOT_IMPLEMENTED:
sError = "Not implemented";
break;
case ITAException::NETWORK_ERROR:
sError = "Network error";
break;
case ITAException::UNKNOWN:
default:
sError = "Unkown error";
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment