summaryrefslogtreecommitdiff
path: root/src/error.h
diff options
context:
space:
mode:
authorDaniel Hader <[email protected]>2026-06-28 13:11:11 -0600
committerDaniel Hader <[email protected]>2026-06-28 13:11:11 -0600
commit2b61a58431d08d245d9c95cb5cec171aedb44985 (patch)
treeef4b611100676d1f4fd0c727f439caa5c0a1170e /src/error.h
parentaf4a85978598f5fd32a415ebb419d190adce4b22 (diff)
error enum header separate from vecHEADmain
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