summaryrefslogtreecommitdiffhomepage
path: root/src/CompilerKit/ErrorID.h
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2025-11-26 22:58:28 -0500
committerAmlal El Mahrouss <amlal@nekernel.org>2025-11-26 22:58:28 -0500
commite63063f6556aaa759b8af2cc5bf88b89e2dbcfab (patch)
tree551705f187dc1129ef0835ac7d1a56bbb6856340 /src/CompilerKit/ErrorID.h
parentad4deb740e8a358542d59dae2b3c1225c02b50db (diff)
parenteb7f40b000b0b1dc4605113f3f2d7e87003d6d43 (diff)
Merge branch 'dev' of github.com:nekernel-org/necti into dev
Diffstat (limited to 'src/CompilerKit/ErrorID.h')
-rw-r--r--src/CompilerKit/ErrorID.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/CompilerKit/ErrorID.h b/src/CompilerKit/ErrorID.h
new file mode 100644
index 0000000..35039ab
--- /dev/null
+++ b/src/CompilerKit/ErrorID.h
@@ -0,0 +1,29 @@
+/*
+ * ========================================================
+ *
+ * CompilerKit
+ * Copyright (C) 2024-2025 Amlal El Mahrouss, Licensed under the Apache 2.0 license.
+ *
+ * ========================================================
+ */
+
+#pragma once
+
+#include <CompilerKit/Defines.h>
+
+/// =========================================================== ///
+/// @file ErrorID.h
+/// @author Amlal El Mahrouss
+/// @brief Error IDs for CompilerKit.
+/// =========================================================== ///
+
+#define NECTI_SUCCESS 0
+#define NECTI_EXEC_ERROR -30
+#define NECTI_FILE_NOT_FOUND -31
+#define NECTI_DIR_NOT_FOUND -32
+#define NECTI_FILE_EXISTS -33
+#define NECTI_TOO_LONG -34
+#define NECTI_INVALID_DATA -35
+#define NECTI_UNIMPLEMENTED -36
+#define NECTI_FAT_ERROR -37
+#define NECTI_INVALID_ARCH -38