From db6882af015dc067baed605b11d8dfa3c3dcb7e3 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sun, 22 Sep 2024 17:12:28 +0200 Subject: Throw a more useful error when the disk is full during an export (#2866). --- src/lib/exceptions.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/lib/exceptions.h') 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 -- cgit v1.2.3