aboutsummaryrefslogtreecommitdiff
path: root/tests/framework/Exceptions.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/framework/Exceptions.h')
-rw-r--r--tests/framework/Exceptions.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/framework/Exceptions.h b/tests/framework/Exceptions.h
index edb0ed92c9..f35c35020c 100644
--- a/tests/framework/Exceptions.h
+++ b/tests/framework/Exceptions.h
@@ -63,6 +63,17 @@ LogLevel log_level_from_name(const std::string &name);
::std::ostream &operator<<(::std::ostream &stream, LogLevel level);
std::string to_string(LogLevel level);
+/** Error class for when some external assets are missing */
+class FileNotFound : public std::runtime_error
+{
+public:
+ /** Construct error with message
+ *
+ * @param[in] msg Error message
+ */
+ FileNotFound(const std::string &msg);
+};
+
/** Error class for failures during test execution. */
class TestError : public std::runtime_error
{