apply Error Data packet in challenge status

Change-Id: I629e57ad96d33ad77dcc939a25577a15afcf2886
diff --git a/src/ndncert-common.hpp b/src/ndncert-common.hpp
index 6727a88..63c7881 100644
--- a/src/ndncert-common.hpp
+++ b/src/ndncert-common.hpp
@@ -148,7 +148,7 @@
 
 std::string statusToString(Status status);
 
-enum class Error : uint16_t {
+enum class ErrorCode : uint16_t {
   NO_ERROR = 0,
   BAD_INTEREST_FORMAT = 1,
   BAD_PARAMETER_FORMAT = 2,