summaryrefslogtreecommitdiffhomepage
path: root/src/CompilerKit/ErrorID.h
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2025-11-24 03:05:29 +0100
committerAmlal El Mahrouss <amlal@nekernel.org>2025-11-24 03:05:29 +0100
commitbbe2c77243c541ca7e0075149f5be3262eb89523 (patch)
treeae5d59d299344fd19584a2c3642bacd788e841d4 /src/CompilerKit/ErrorID.h
parentb5adf16a96b9cbb80c74cf30404ed5bcff03ac34 (diff)
feat! breaking changes on necti sources.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
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