src: refactored ErrorInfo to be used as standard error type outside of Storage

This commit is contained in:
Eberhard Graether
2016-10-21 14:48:20 +02:00
parent a5613715db
commit 0e8c0ee18a
20 changed files with 85 additions and 115 deletions
+2 -2
View File
@@ -2,7 +2,7 @@
#define ERROR_VIEW_H
#include "component/view/View.h"
#include "data/StorageTypes.h"
#include "data/ErrorInfo.h"
class ErrorView
: public View
@@ -17,7 +17,7 @@ public:
virtual void clear() = 0;
virtual void addError(const StorageError& error) = 0;
virtual void addError(const ErrorInfo& error) = 0;
virtual void setErrorId(Id errorId) = 0;
};