summaryrefslogtreecommitdiffhomepage
path: root/src/CompilerKit/ErrorID.h
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2025-11-23 21:07:59 -0500
committerGitHub <noreply@github.com>2025-11-23 21:07:59 -0500
commit498b16ee572b35eee04a58d826d8ff2118006727 (patch)
treeae5d59d299344fd19584a2c3642bacd788e841d4 /src/CompilerKit/ErrorID.h
parent29034dccc48f5c5c3b647eb7e9d49399046e2370 (diff)
parentbbe2c77243c541ca7e0075149f5be3262eb89523 (diff)
Merge pull request #28 from nekernel-org/dev
feat! breaking changes on necti sources.
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