summaryrefslogtreecommitdiffhomepage
path: root/include/ocl/except/error.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/ocl/except/error.hpp')
-rw-r--r--include/ocl/except/error.hpp21
1 files changed, 21 insertions, 0 deletions
diff --git a/include/ocl/except/error.hpp b/include/ocl/except/error.hpp
new file mode 100644
index 0000000..cf038f8
--- /dev/null
+++ b/include/ocl/except/error.hpp
@@ -0,0 +1,21 @@
+/*
+ * File: opt.hpp
+ * Author: Amlal El Mahrouss,
+ * Copyright 2023-2025, Amlal El Mahrouss, Licensed under the Boost Software License
+ */
+
+#ifndef _OCL_ERR_HPP
+#define _OCL_ERR_HPP
+
+#include <stdexcept>
+#include <core/error_handler.hpp>
+
+namespace ocl::error
+{
+ using runtime_error = std::runtime_error;
+ using fix_error = runtime_error;
+ using math_error = runtime_error;
+ using cgi_error = runtime_error;
+} // namespace ocl::error
+
+#endif // _OCL_ERR_HPP \ No newline at end of file