From 42ac3e7a0516b4c5d3b13a4cb842ab3f3d368101 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 15 Aug 2020 20:22:26 +0200 Subject: Handle read errors more precisely --- include/serd/serd.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/serd/serd.h') diff --git a/include/serd/serd.h b/include/serd/serd.h index f5ee9022..80e2d3d5 100644 --- a/include/serd/serd.h +++ b/include/serd/serd.h @@ -119,7 +119,8 @@ typedef enum { SERD_ERR_ID_CLASH, ///< Encountered clashing blank node IDs SERD_ERR_BAD_CURIE, ///< Invalid CURIE (e.g. prefix does not exist) SERD_ERR_INTERNAL, ///< Unexpected internal error (should not happen) - SERD_ERR_OVERFLOW ///< Stack overflow + SERD_ERR_OVERFLOW, ///< Stack overflow + SERD_ERR_NO_DATA ///< Unexpected end of input } SerdStatus; /// RDF syntax type -- cgit v1.2.1