|
StormByte C++ Library: System module 1.1.0
StormByte-System is the C++26 process and environment module of the StormByte suite.
|
A file could not be opened for read or write. More...
#include <StormByte/system/exception.hxx>


Public Types | |
| enum class | Operation { Read = 0 , Write } |
| Failed file operation. More... | |
Public Member Functions | |
| FileIOError (const std::filesystem::path &file, const Operation &operation) | |
| Construct from a path and an operation. | |
| FileIOError (const FileIOError &)=default | |
| Copy constructor. | |
| FileIOError (FileIOError &&) noexcept=default | |
| Move constructor. | |
| FileIOError & | operator= (const FileIOError &)=default |
| Copy assignment. | |
| FileIOError & | operator= (FileIOError &&)=default |
| Move assignment. | |
| ~FileIOError () noexcept override=default | |
| Destructor. | |
Public Member Functions inherited from StormByte::System::Exception | |
| Exception (const std::string &message) | |
Plain-message constructor tagged with the System component. | |
| template<typename... Args> | |
| Exception (std::format_string< Args... > fmt, Args &&... args) | |
Format-string constructor tagged with the System component. | |
| Exception (const Exception &)=default | |
| Copy constructor. | |
| Exception (Exception &&) noexcept=default | |
| Move constructor. | |
| Exception & | operator= (const Exception &)=default |
| Copy assignment. | |
| Exception & | operator= (Exception &&) noexcept=default |
| Move assignment. | |
| virtual | ~Exception () noexcept override=default |
| Destructor. | |
Static Public Member Functions | |
| static constexpr const char * | operation_to_string (const Operation &op) noexcept |
| Operation as text. | |
A file could not be opened for read or write.
|
strong |
|
inline |
Construct from a path and an operation.
| file | File path. |
| operation | Failed operation. |
|
default |
Copy constructor.
|
defaultnoexcept |
Move constructor.
|
overridedefaultnoexcept |
Destructor.
|
inlinestaticconstexprnoexcept |
Operation as text.
| op | Operation. |
|
default |
Copy assignment.
|
default |
Move assignment.