#include <file.hpp>
|
static std::string | fill (const OksFile &file, const std::string &action, const std::string &reason) noexcept |
|
File modification error.
Definition at line 74 of file file.hpp.
◆ FileChangeError() [1/2]
dunedaq::oks::FileChangeError::FileChangeError |
( |
const OksFile & | file, |
|
|
const std::string & | action, |
|
|
const exception & | reason ) |
|
inlinenoexcept |
The constructor gets reason from nested oks exception.
Definition at line 79 of file file.hpp.
static std::string fill(const OksFile &file, const std::string &action, const std::string &reason) noexcept
caught dunedaq::conffwk::Exception exception
std::string const reason(ers::Issue const &)
◆ FileChangeError() [2/2]
dunedaq::oks::FileChangeError::FileChangeError |
( |
const OksFile & | file, |
|
|
const std::string & | action, |
|
|
const std::string & | reason ) |
|
inlinenoexcept |
The constructor gets reason from non-oks exception.
Definition at line 82 of file file.hpp.
◆ ~FileChangeError()
virtual dunedaq::oks::FileChangeError::~FileChangeError |
( |
| ) |
|
|
inlinevirtualnoexcept |
◆ fill()
std::string dunedaq::oks::FileChangeError::fill |
( |
const OksFile & | file, |
|
|
const std::string & | action, |
|
|
const std::string & | reason ) |
|
staticprivatenoexcept |
Definition at line 240 of file file.cpp.
241 {
242 return ( std::string(
"Failed to ") + action +
" of file \'" +
file.get_full_file_name() +
"\' because:\n" + reason);
243 }
The documentation for this class was generated from the following files:
- /github/workspace/dunedaq/sourcecode/oks/include/oks/file.hpp
- /github/workspace/dunedaq/sourcecode/oks/src/file.cpp