summaryrefslogtreecommitdiff
path: root/include/parserutils/errors.h
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2008-11-08 23:08:30 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2008-11-08 23:08:30 +0000
commite53a5011237467c73c72b338570e4a455d2d1ef6 (patch)
tree1f580e130a9985f98c0fd6efb88f2c1071b1a7ca /include/parserutils/errors.h
parent7836409aade83179b43dd7ad0699d9edf68aad90 (diff)
downloadlibparserutils-e53a5011237467c73c72b338570e4a455d2d1ef6.tar.gz
libparserutils-e53a5011237467c73c72b338570e4a455d2d1ef6.tar.bz2
Return errors from constructors and destructors.
svn path=/trunk/libparserutils/; revision=5652
Diffstat (limited to 'include/parserutils/errors.h')
-rw-r--r--include/parserutils/errors.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/parserutils/errors.h b/include/parserutils/errors.h
index 09c715c..632d334 100644
--- a/include/parserutils/errors.h
+++ b/include/parserutils/errors.h
@@ -18,6 +18,7 @@ typedef enum parserutils_error {
PARSERUTILS_INVALID = 3,
PARSERUTILS_FILENOTFOUND = 4,
PARSERUTILS_NEEDDATA = 5,
+ PARSERUTILS_BADENCODING = 6,
} parserutils_error;
/* Convert a parserutils error value to a string */