aboutsummaryrefslogtreecommitdiff
path: root/tests/framework/Exceptions.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/framework/Exceptions.cpp')
-rw-r--r--tests/framework/Exceptions.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/framework/Exceptions.cpp b/tests/framework/Exceptions.cpp
index 3d6c65c181..0ca86a8589 100644
--- a/tests/framework/Exceptions.cpp
+++ b/tests/framework/Exceptions.cpp
@@ -104,6 +104,11 @@ std::string to_string(LogLevel level)
return stream.str();
}
+FileNotFound::FileNotFound(const std::string &msg)
+ : std::runtime_error{ msg }
+{
+}
+
TestError::TestError(const std::string &msg, LogLevel level, std::string context)
: std::runtime_error{ msg }, _level{ level }, _msg{ msg }, _context{ std::move(context) }, _combined{ "ERROR: " + msg }
{