diff options
| author | Daniel Hader <[email protected]> | 2026-06-28 13:11:11 -0600 |
|---|---|---|
| committer | Daniel Hader <[email protected]> | 2026-06-28 13:11:11 -0600 |
| commit | 2b61a58431d08d245d9c95cb5cec171aedb44985 (patch) | |
| tree | ef4b611100676d1f4fd0c727f439caa5c0a1170e /src/error.h | |
| parent | af4a85978598f5fd32a415ebb419d190adce4b22 (diff) | |
Diffstat (limited to 'src/error.h')
| -rw-r--r-- | src/error.h | 12 |
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 |
