diff options
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") +{ + +} |
