diff options
author | David Robillard <d@drobilla.net> | 2019-04-28 16:36:02 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2021-03-08 23:23:05 -0500 |
commit | 01daa5914169d57a6a6c4925d3f8d76db80a2bd8 (patch) | |
tree | 468a3371fe17adc082e93f7894147c5d67ed47fe /src/string.c | |
parent | 36e2f27502524155e6475a75ffcab4999fce166a (diff) | |
download | serd-01daa5914169d57a6a6c4925d3f8d76db80a2bd8.tar.gz serd-01daa5914169d57a6a6c4925d3f8d76db80a2bd8.tar.bz2 serd-01daa5914169d57a6a6c4925d3f8d76db80a2bd8.zip |
Report writer errors and add strict write mode
Diffstat (limited to 'src/string.c')
-rw-r--r-- | src/string.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/string.c b/src/string.c index e3d20b15..f0aca005 100644 --- a/src/string.c +++ b/src/string.c @@ -58,6 +58,10 @@ serd_strerror(SerdStatus status) return "Stack overflow"; case SERD_ERR_NO_DATA: return "Unexpectd end of input"; + case SERD_ERR_BAD_TEXT: + return "Invalid text encoding"; + case SERD_ERR_BAD_WRITE: + return "Error writing to file"; default: break; } |