summaryrefslogtreecommitdiffhomepage
path: root/CompilerKit/StdKit/ErrorID.hpp
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-01-04 21:36:54 +0100
committerAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-01-04 21:48:09 +0100
commit6cda526bd4efcee31b1ea7405dc46d7985ba64e6 (patch)
treef7d138fd5652cdc0e7a2c4918b36d754969d6cf5 /CompilerKit/StdKit/ErrorID.hpp
parent60271b79a91a06772241aed737426f5d097ca533 (diff)
masm: fix assembler bug where addr1, 0x0 (add r1, 0x0) doesn't error
out. cc/ccplus: minor compiler changes, will get to them very soon... refactor: rename C++Kit to CompilerKit. Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'CompilerKit/StdKit/ErrorID.hpp')
-rw-r--r--CompilerKit/StdKit/ErrorID.hpp22
1 files changed, 22 insertions, 0 deletions
diff --git a/CompilerKit/StdKit/ErrorID.hpp b/CompilerKit/StdKit/ErrorID.hpp
new file mode 100644
index 0000000..b4b204c
--- /dev/null
+++ b/CompilerKit/StdKit/ErrorID.hpp
@@ -0,0 +1,22 @@
+/*
+ * ========================================================
+ *
+ * CompilerKit
+ * Copyright Western Company, all rights reserved.
+ *
+ * ========================================================
+ */
+
+#pragma once
+
+#include <StdKit/ErrorOr.hpp>
+#include <Defines.hpp>
+
+#define CXXKIT_EXEC_ERROR -30
+#define CXXKIT_FILE_NOT_FOUND -31
+#define CXXKIT_DIR_NOT_FOUND -32
+#define CXXKIT_FILE_EXISTS -33
+#define CXXKIT_TOO_LONG -34
+#define CXXKIT_INVALID_DATA -35
+#define CXXKIT_UNIMPLEMENTED -36
+#define CXXKIT_FAT_ERROR -37