summaryrefslogtreecommitdiffstats
path: root/src/libknot/errcode.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libknot/errcode.h')
-rw-r--r--src/libknot/errcode.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/libknot/errcode.h b/src/libknot/errcode.h
index ff847c413..9710dec88 100644
--- a/src/libknot/errcode.h
+++ b/src/libknot/errcode.h
@@ -95,6 +95,8 @@ enum knot_error {
KNOT_ELIMIT,
KNOT_EWRITABLE,
KNOT_EOF,
+ KNOT_ESYSTEM,
+ KNOT_EFILE,
/* Control states. */
KNOT_CTL_STOP,
@@ -139,6 +141,14 @@ enum knot_error {
/* Database backend. */
KNOT_DATABASE_ERROR,
+ /* Yparser errors. */
+ KNOT_YP_EINVAL_ITEM,
+ KNOT_YP_EINVAL_DATA,
+ KNOT_YP_ENOTSUP_DATA,
+ KNOT_YP_ENOTSUP_ID,
+ KNOT_YP_ENODATA,
+ KNOT_YP_ENOID,
+
/* Processing error. */
KNOT_LAYER_ERROR
};