From 2795ab2e05fcd27a56ddb08ecbbc6af5c3bf983a Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 10 Sep 2025 20:44:52 +0200 Subject: Pass disk full / too many open files errors up to DoM. --- src/exceptions.cc | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'src/exceptions.cc') diff --git a/src/exceptions.cc b/src/exceptions.cc index 3f354c57..fce1b583 100644 --- a/src/exceptions.cc +++ b/src/exceptions.cc @@ -218,3 +218,18 @@ LoadVariableZError::LoadVariableZError(string variable_z) { } + + +DiskFullError::DiskFullError(boost::filesystem::path filename) + : runtime_error(fmt::format("Disk full when writing to {}", filename.string())) + , _filename(filename) +{ + +} + + +TooManyOpenFilesError::TooManyOpenFilesError() + : runtime_error("Too many open files") +{ + +} -- cgit v1.2.3