diff options
author | David Robillard <d@drobilla.net> | 2021-07-08 22:50:02 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2022-01-13 23:04:25 -0500 |
commit | 51f1de0235cfb091fcc481fa97d48326295d2c58 (patch) | |
tree | eb4114352fce89faeb239de9644d4f92f6e1db86 /include | |
parent | 86178f4cac2259cd2c26ef27488c3ea36a947c7d (diff) | |
download | serd-51f1de0235cfb091fcc481fa97d48326295d2c58.tar.gz serd-51f1de0235cfb091fcc481fa97d48326295d2c58.tar.bz2 serd-51f1de0235cfb091fcc481fa97d48326295d2c58.zip |
Handle read errors more precisely
Diffstat (limited to 'include')
-rw-r--r-- | include/serd/serd.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/serd/serd.h b/include/serd/serd.h index 77b42a24..8d00f4e5 100644 --- a/include/serd/serd.h +++ b/include/serd/serd.h @@ -205,6 +205,7 @@ typedef enum { SERD_ERR_OVERFLOW, ///< Stack overflow SERD_ERR_BAD_TEXT, ///< Invalid text encoding SERD_ERR_BAD_WRITE, ///< Error writing to file/stream + SERD_ERR_NO_DATA, ///< Unexpected end of input } SerdStatus; /** |