diff options
author | David Robillard <d@drobilla.net> | 2020-08-15 20:22:26 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-10-27 13:13:58 +0100 |
commit | c4e1eb61f7b8262030344712537c8918f4949a20 (patch) | |
tree | 90ee9794cb6d5c8e14959bdfd4613b93dde2d970 /serd | |
parent | 9c9232a079a38e4f56de6bc7b1a6c5b1de332144 (diff) | |
download | serd-c4e1eb61f7b8262030344712537c8918f4949a20.tar.gz serd-c4e1eb61f7b8262030344712537c8918f4949a20.tar.bz2 serd-c4e1eb61f7b8262030344712537c8918f4949a20.zip |
Handle read 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 9d5f09b4..433f38e8 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 |