time: Fix bug in ndn_toIsoString: Return an error if the time is out of range.
diff --git a/ndn-cpp/c/errors.h b/ndn-cpp/c/errors.h
index 396f43d..852c892 100644
--- a/ndn-cpp/c/errors.h
+++ b/ndn-cpp/c/errors.h
@@ -46,7 +46,8 @@
NDN_ERROR_SocketTransport_error_in_recv,
NDN_ERROR_SocketTransport_error_in_close,
NDN_ERROR_Name_component_does_not_begin_with_the_expected_marker,
- NDN_ERROR_Time_functions_are_not_supported_by_the_standard_library
+ NDN_ERROR_Time_functions_are_not_supported_by_the_standard_library,
+ NDN_ERROR_Calendar_time_value_out_of_range
} ndn_Error;
/**