summaryrefslogtreecommitdiffstats
path: root/include/error.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/error.h')
-rw-r--r--include/error.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/include/error.h b/include/error.h
index 8aa087c..40a39e2 100644
--- a/include/error.h
+++ b/include/error.h
@@ -5,4 +5,21 @@
#define E_BADOBJ 1
#define E_ARGUMENT 2
+enum
+{
+ KE_OK = 0,
+ KE_BADOBJ,
+ KE_BADFUNC,
+ KE_BADTYPE,
+ KE_BADMSG,
+ KE_BADCALL,
+ KE_FULL,
+ KE_TOOSMALL,
+ KE_OOB,
+ KE_DNE,
+ KE_ALIGN,
+ KE_BADSIZE,
+ KE_OCCUPIED
+};
+
#endif