aboutsummaryrefslogtreecommitdiff
path: root/src/core/Error.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/Error.cpp')
-rw-r--r--src/core/Error.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/Error.cpp b/src/core/Error.cpp
index 3b0a012f5f..be362bb7cf 100644
--- a/src/core/Error.cpp
+++ b/src/core/Error.cpp
@@ -56,3 +56,7 @@ void arm_compute::error(const char *function, const char *file, const int line,
va_end(args);
throw std::runtime_error(err.description());
}
+void Error::internal_throw_on_error()
+{
+ throw std::runtime_error(_description);
+}