18 FileError::FileError(
const std::string& mode,
const std::string& reason,
const std::filesystem::path& path) noexcept
#define GALAXY_LOG(level, msg,...)
void log() const noexcept
Prints the file error in a nice format to the console.
std::string m_reason
Reason for file i/o failure.
std::string m_mode
File I/O mode.
~FileError() noexcept
Destructor.
std::filesystem::path m_path
Path error occured on.
FileError() noexcept
Constructor.