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>2019-04-13 19:48:23 +0200
commit5443876d8e15c6ad011ede7d46ed36325a6cb282 (patch)
tree69fbb26e35f44a6d49d60c4a8969e6d2cca63a3e /serd
parent3b1252125ca66387f904ce107fb4c6130d5c582d (diff)
downloadserd-5443876d8e15c6ad011ede7d46ed36325a6cb282.tar.gz
serd-5443876d8e15c6ad011ede7d46ed36325a6cb282.tar.bz2
serd-5443876d8e15c6ad011ede7d46ed36325a6cb282.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 0b798abc..145a424a 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