errors.h: Added NDN_ERROR_Name_component_does_not_begin_with_the_expected_marker.
diff --git a/ndn-cpp/c/errors.c b/ndn-cpp/c/errors.c
index 5ccbec1..55ae58d 100644
--- a/ndn-cpp/c/errors.c
+++ b/ndn-cpp/c/errors.c
@@ -73,6 +73,8 @@
return "SocketTransport error in recv";
case NDN_ERROR_SocketTransport_error_in_close:
return "SocketTransport error in close";
+ case NDN_ERROR_Name_component_does_not_begin_with_the_expected_marker:
+ return "Name component does not begin with the expected marker";
default:
return "unrecognized ndn_Error code";
}
diff --git a/ndn-cpp/c/errors.h b/ndn-cpp/c/errors.h
index 9f992f9..f975c26 100644
--- a/ndn-cpp/c/errors.h
+++ b/ndn-cpp/c/errors.h
@@ -44,7 +44,8 @@
NDN_ERROR_SocketTransport_error_in_send,
NDN_ERROR_SocketTransport_error_in_poll,
NDN_ERROR_SocketTransport_error_in_recv,
- NDN_ERROR_SocketTransport_error_in_close
+ NDN_ERROR_SocketTransport_error_in_close,
+ NDN_ERROR_Name_component_does_not_begin_with_the_expected_marker
} ndn_Error;
/**