summaryrefslogtreecommitdiffstats
path: root/include/api/error.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/api/error.h')
-rw-r--r--include/api/error.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/include/api/error.h b/include/api/error.h
new file mode 100644
index 0000000..da8093c
--- /dev/null
+++ b/include/api/error.h
@@ -0,0 +1,21 @@
+#ifndef _JOVE_ERROR_H
+#define _JOVE_ERROR_H 1
+
+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