diff options
author | David Robillard <d@drobilla.net> | 2018-11-25 18:08:54 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-06-21 18:12:04 +0200 |
commit | 5c0c09d8ecbdc17452b3bd2c0dc2fc7bb555e5b8 (patch) | |
tree | 59e0b04d4c444f018e119100f220d815cc7940b6 /serd/serd.h | |
parent | ea3a288ed266cc73995289ab249da2df13113626 (diff) | |
download | serd-5c0c09d8ecbdc17452b3bd2c0dc2fc7bb555e5b8.tar.gz serd-5c0c09d8ecbdc17452b3bd2c0dc2fc7bb555e5b8.tar.bz2 serd-5c0c09d8ecbdc17452b3bd2c0dc2fc7bb555e5b8.zip |
Remove reader status and handle errors more precisely
Diffstat (limited to 'serd/serd.h')
-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 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 |