📂 golxzn::os::filesystem 📂 1.6.5
golxzn filesystem submodule
|
Struct returned by some methods to tell if there's an error. More...
#include <filesystem.hpp>
Public Member Functions | |
bool | has_error () const noexcept |
Checks if there's an error. | |
operator bool () const noexcept | |
Non-implicit conversion to bool. | |
Public Attributes | |
std::wstring | message |
Error message. If it's golxzn::os::filesystem::none, everything is OK. | |
Struct returned by some methods to tell if there's an error.
|
noexcept |
Checks if there's an error.
true
- Something wrong (error message is not empty) false
- All right (error message is empty)
|
noexcept |
Non-implicit conversion to bool.
true
- All right. There's no error false
- An error occurred