aboutsummaryrefslogtreecommitdiffstats
path: root/serd
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2018-11-25 18:08:54 +0100
committerDavid Robillard <d@drobilla.net>2020-06-21 18:12:04 +0200
commit5c0c09d8ecbdc17452b3bd2c0dc2fc7bb555e5b8 (patch)
tree59e0b04d4c444f018e119100f220d815cc7940b6 /serd
parentea3a288ed266cc73995289ab249da2df13113626 (diff)
downloadserd-5c0c09d8ecbdc17452b3bd2c0dc2fc7bb555e5b8.tar.gz
serd-5c0c09d8ecbdc17452b3bd2c0dc2fc7bb555e5b8.tar.bz2
serd-5c0c09d8ecbdc17452b3bd2c0dc2fc7bb555e5b8.zip
Remove reader status and handle errors more precisely
Diffstat (limited to 'serd')
-rw-r--r--serd/serd.h3
1 files changed, 2 insertions, 1 deletions
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