summaryrefslogtreecommitdiff
path: root/src/error.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/error.h')
-rw-r--r--src/error.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/error.h b/src/error.h
new file mode 100644
index 0000000..37e715b
--- /dev/null
+++ b/src/error.h
@@ -0,0 +1,12 @@
+#ifndef LEO_ERROR_H
+#define LEO_ERROR_H
+
+typedef enum {
+ LEO_Error_Ok = 0,
+ LEO_Error_AllocationFailure,
+ LEO_Error_NullPointer,
+ LEO_Error_ValueError,
+ LEO_Error_OutOfBounds,
+} LEO_Error;
+
+#endif