From 51f1de0235cfb091fcc481fa97d48326295d2c58 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 8 Jul 2021 22:50:02 -0400 Subject: Handle read errors more precisely --- include/serd/serd.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/serd') 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; /** -- cgit v1.2.1