From 5c0c09d8ecbdc17452b3bd2c0dc2fc7bb555e5b8 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/serd.h') diff --git a/serd/serd.h b/serd/serd.h index da39ca43..e1ae0aed 100644 --- a/serd/serd.h +++ b/serd/serd.h @@ -109,7 +109,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