summaryrefslogtreecommitdiffhomepage
path: root/dev/LibCompiler/ErrorID.h
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2025-04-19 17:33:26 +0200
committerAmlal El Mahrouss <amlal@nekernel.org>2025-04-19 17:33:26 +0200
commitbefde76cfa46c766e81f74eb5ac65d3dae2dde87 (patch)
tree45b2f9fd6b3f9605c2747485bd24483192f99e73 /dev/LibCompiler/ErrorID.h
parent3afc481dc64a07fe7fcaff9ce7a12a492c3ec8e7 (diff)
dev, LibCompiler, tooling: refactor and separate components into modules
(cppdrv, cxxdrv) Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'dev/LibCompiler/ErrorID.h')
-rw-r--r--dev/LibCompiler/ErrorID.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/dev/LibCompiler/ErrorID.h b/dev/LibCompiler/ErrorID.h
new file mode 100644
index 0000000..b105f9b
--- /dev/null
+++ b/dev/LibCompiler/ErrorID.h
@@ -0,0 +1,23 @@
+/*
+ * ========================================================
+ *
+ * LibCompiler
+ * Copyright (C) 2024-2025 Amlal El Mahrouss, all rights reserved.
+ *
+ * ========================================================
+ */
+
+#pragma once
+
+#include <LibCompiler/Defines.h>
+#include <LibCompiler/ErrorOr.h>
+
+#define LIBCOMPILER_SUCCESSS 0
+#define LIBCOMPILER_EXEC_ERROR -30
+#define LIBCOMPILER_FILE_NOT_FOUND -31
+#define LIBCOMPILER_DIR_NOT_FOUND -32
+#define LIBCOMPILER_FILE_EXISTS -33
+#define LIBCOMPILER_TOO_LONG -34
+#define LIBCOMPILER_INVALID_DATA -35
+#define LIBCOMPILER_UNIMPLEMENTED -36
+#define LIBCOMPILER_FAT_ERROR -37