add error handling/reporting for client module

Change-Id: I38875e561aa85093030ad6f937891723bd401de2
diff --git a/src/ndncert-common.hpp b/src/ndncert-common.hpp
index d052d62..a9165a2 100644
--- a/src/ndncert-common.hpp
+++ b/src/ndncert-common.hpp
@@ -155,6 +155,8 @@
 
 std::string requestTypeToString(RequestType type);
 
+std::string errorCodeToString(ErrorCode code);
+
 typedef boost::property_tree::ptree JsonSection;
 
 std::string