Exception thrown when a file can not be opened or written.
More...
#include <exception.hxx>
|
enum class | Operation { Read = 0
, Write
} |
| File operation.
|
|
Exception thrown when a file can not be opened or written.
◆ FileIOError() [1/3]
StormByte::System::FileIOError::FileIOError |
( |
const std::filesystem::path & |
file, |
|
|
const Operation & |
operation |
|
) |
| |
Constructor
- Parameters
-
file | file path |
operation | operation |
◆ FileIOError() [2/3]
StormByte::System::FileIOError::FileIOError |
( |
const FileIOError & |
| ) |
|
|
default |
◆ FileIOError() [3/3]
StormByte::System::FileIOError::FileIOError |
( |
FileIOError && |
| ) |
|
|
defaultnoexcept |
◆ ~FileIOError()
StormByte::System::FileIOError::~FileIOError |
( |
| ) |
|
|
overridedefaultnoexcept |
◆ operation_to_string()
static constexpr const char * StormByte::System::FileIOError::operation_to_string |
( |
const Operation & |
op | ) |
|
|
inlinestaticconstexprnoexcept |
Converts Operation to string
- Parameters
-
- Returns
- string
◆ operator=() [1/2]
◆ operator=() [2/2]
The documentation for this class was generated from the following file:
- /home/runner/work/StormByte-System/StormByte-System/lib/public/StormByte/system/exception.hxx