summaryrefslogtreecommitdiffhomepage
path: root/Private/KernelKit/HError.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'Private/KernelKit/HError.hpp')
-rw-r--r--Private/KernelKit/HError.hpp29
1 files changed, 29 insertions, 0 deletions
diff --git a/Private/KernelKit/HError.hpp b/Private/KernelKit/HError.hpp
new file mode 100644
index 00000000..c03e8104
--- /dev/null
+++ b/Private/KernelKit/HError.hpp
@@ -0,0 +1,29 @@
+/*
+ * ========================================================
+ *
+ * HCore
+ * Copyright Mahrouss Logic, all rights reserved.
+ *
+ * ========================================================
+ */
+
+#pragma once
+
+#include <NewKit/Defines.hpp>
+
+namespace HCore {
+typedef Int32 HError;
+
+inline constexpr HError kErrorExecutable = 33;
+inline constexpr HError kErrorExecutableLib = 34;
+inline constexpr HError kErrorFileNotFound = 35;
+inline constexpr HError kErrorDirectoryNotFound = 36;
+inline constexpr HError kErrorDiskReadOnly = 37;
+inline constexpr HError kErrorDiskIsFull = 38;
+inline constexpr HError kErrorProcessFault = 39;
+inline constexpr HError kErrorSocketHangUp = 40;
+inline constexpr HError kErrorThreadLocalStorage = 41;
+inline constexpr HError kErrorMath = 42;
+inline constexpr HError kErrorNoNetwork = 43;
+inline constexpr HError kErrorHeapOutOfMemory = 44;
+} // namespace HCore