aboutsummaryrefslogtreecommitdiffstats
path: root/include/serd/serd.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-08-15 20:22:26 +0200
committerDavid Robillard <d@drobilla.net>2021-03-08 23:23:05 -0500
commit42ac3e7a0516b4c5d3b13a4cb842ab3f3d368101 (patch)
treede97be6345a30cc7ad2ce44dcaea32aa383c1c63 /include/serd/serd.h
parentb08b881585287e9c5e2f8ce50437643e02410ca1 (diff)
downloadserd-42ac3e7a0516b4c5d3b13a4cb842ab3f3d368101.tar.gz
serd-42ac3e7a0516b4c5d3b13a4cb842ab3f3d368101.tar.bz2
serd-42ac3e7a0516b4c5d3b13a4cb842ab3f3d368101.zip
Handle read errors more precisely
Diffstat (limited to 'include/serd/serd.h')
-rw-r--r--include/serd/serd.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/serd/serd.h b/include/serd/serd.h
index f5ee9022..80e2d3d5 100644
--- a/include/serd/serd.h
+++ b/include/serd/serd.h
@@ -119,7 +119,8 @@ typedef enum {
SERD_ERR_ID_CLASH, ///< Encountered clashing blank node IDs
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_OVERFLOW, ///< Stack overflow
+ SERD_ERR_NO_DATA ///< Unexpected end of input
} SerdStatus;
/// RDF syntax type