diff options
| author | Carl Hetherington <cth@carlh.net> | 2025-09-10 20:44:52 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-09-13 20:34:07 +0200 |
| commit | 2795ab2e05fcd27a56ddb08ecbbc6af5c3bf983a (patch) | |
| tree | dc66e7590728ace6fd2a7b0f90462f6da712e468 /src/exceptions.cc | |
| parent | 97570ebdf7c0dc12a8218a143e2803ec7a792526 (diff) | |
Pass disk full / too many open files errors up to DoM.v1.10.26
Diffstat (limited to 'src/exceptions.cc')
| -rw-r--r-- | src/exceptions.cc | 15 |
1 files changed, 15 insertions, 0 deletions
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") +{ + +} |
