From fb0597c6023bc06b4d6db3738aec69213b9d2b26 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 25 Nov 2018 18:08:54 +0100 Subject: Remove reader status and handle errors more precisely --- serd/serd.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'serd') diff --git a/serd/serd.h b/serd/serd.h index 6bdb9164..7082901e 100644 --- a/serd/serd.h +++ b/serd/serd.h @@ -110,7 +110,8 @@ typedef enum { 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_INVALID ///< Invalid data + SERD_ERR_INVALID, ///< Invalid data + SERD_ERR_NO_DATA ///< Unexpected end of input } SerdStatus; /// RDF syntax type -- cgit v1.2.1