apply Error Data packet in challenge status

Change-Id: I629e57ad96d33ad77dcc939a25577a15afcf2886
diff --git a/src/ca-module.hpp b/src/ca-module.hpp
index b370132..1cdd246 100644
--- a/src/ca-module.hpp
+++ b/src/ca-module.hpp
@@ -107,6 +107,9 @@
   void
   registerPrefix();
 
+  Data
+  generateErrorDataPacket(const Name& name, ErrorCode error, const std::string& errorInfo);
+
 PUBLIC_WITH_TESTS_ELSE_PRIVATE:
   Face& m_face;
   CaConfig m_config;