summaryrefslogtreecommitdiffhomepage
path: root/dev/lib/except
diff options
context:
space:
mode:
Diffstat (limited to 'dev/lib/except')
-rw-r--r--dev/lib/except/error.hpp19
1 files changed, 19 insertions, 0 deletions
diff --git a/dev/lib/except/error.hpp b/dev/lib/except/error.hpp
new file mode 100644
index 0000000..1a07ef0
--- /dev/null
+++ b/dev/lib/except/error.hpp
@@ -0,0 +1,19 @@
+/*
+ * File: opt.hpp
+ * Author: Amlal El Mahrouss,
+ * Copyright 2023-2025, Amlal El Mahrouss/SNU Systems Corp all rights reserved.
+ */
+
+#ifndef _SNU_ERR_HPP
+#define _SNU_ERR_HPP
+
+#include <stdexcept>
+
+namespace snu::except
+{
+ using runtime_error = std::runtime_error;
+ using fix_error = runtime_error;
+ using math_error = runtime_error;
+} // namespace snu::except
+
+#endif // _SNU_ERR_HPP \ No newline at end of file