summaryrefslogtreecommitdiff
path: root/src/lib/exceptions.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-09-22 17:12:28 +0200
committerCarl Hetherington <cth@carlh.net>2024-09-22 17:12:28 +0200
commitdb6882af015dc067baed605b11d8dfa3c3dcb7e3 (patch)
treee79368a92f71ac572a09be28969dd5265eeed88d /src/lib/exceptions.h
parent6202999dc59f90cb5a0f51f306af5b744af2301b (diff)
Throw a more useful error when the disk is full during an export (#2866).v2.17.21
Diffstat (limited to 'src/lib/exceptions.h')
-rw-r--r--src/lib/exceptions.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/lib/exceptions.h b/src/lib/exceptions.h
index e08392689..3069d792e 100644
--- a/src/lib/exceptions.h
+++ b/src/lib/exceptions.h
@@ -535,4 +535,11 @@ private:
};
+class DiskFullError : public std::runtime_error
+{
+public:
+ explicit DiskFullError(boost::filesystem::path writing);
+};
+
+
#endif