summaryrefslogtreecommitdiffhomepage
path: root/include/ocl/except
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2025-11-24 02:13:48 +0100
committerAmlal El Mahrouss <amlal@nekernel.org>2025-11-24 02:13:48 +0100
commit65a8349aa5526d071b18cd4d42586c46faaa3823 (patch)
treef6e2063319ceaaa02f523fb5c289e4f37411a2df /include/ocl/except
parentdf4ec096491ded6d58b9ee094d6942e3188c2d4a (diff)
feat! breaking changes for OCL v1.0.48.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'include/ocl/except')
-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