diff options
author | David Robillard <d@drobilla.net> | 2018-11-25 18:08:54 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-12-20 10:26:55 -0500 |
commit | fb0597c6023bc06b4d6db3738aec69213b9d2b26 (patch) | |
tree | 3a0f898b4011a909b24a8fb03a5b92ef0372965d /serd | |
parent | 58a874fa1ba233c62272eb2f370a9f3c64b56c1a (diff) | |
download | serd-fb0597c6023bc06b4d6db3738aec69213b9d2b26.tar.gz serd-fb0597c6023bc06b4d6db3738aec69213b9d2b26.tar.bz2 serd-fb0597c6023bc06b4d6db3738aec69213b9d2b26.zip |
Remove reader status and handle errors more precisely
Diffstat (limited to 'serd')
-rw-r--r-- | serd/serd.h | 3 |
1 files changed, 2 insertions, 1 deletions
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 |