aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/error.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/error.hpp')
-rw-r--r--src/error.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/error.hpp b/src/error.hpp
index 8a0778c..3a33466 100644
--- a/src/error.hpp
+++ b/src/error.hpp
@@ -19,6 +19,7 @@ inline Error make(const char* function_name) {
return {static_cast<int>(ec), std::system_category(), function_name};
}
+[[noreturn]]
inline void raise(const char* function_name) {
throw make(function_name);
}