17 std::stringstream stream;
18 stream <<
"File system exception: " <<
_message << std::endl;
20 stream <<
"File system path: " <<
_path << std::endl;
22 stream <<
"File system source path: " <<
_src << std::endl;
24 stream <<
"File system destination path: " <<
_dst << std::endl;
29 stream <<
"Source location: " <<
location << std::endl;
SourceLocation _location
Exception location.
std::string _message
Exception message.
std::string _cache
Cached exception string.
const SourceLocation & location() const noexcept
Get exception location.
std::string string() const override
Get string from the current exception.
Path _src
Filesystem exception source path.
Path _dst
Filesystem exception destination path.
Path _path
Filesystem exception path.
bool empty() const noexcept
Is the path empty?
std::string string() const
Get the string from the current source location.
int _system_error
System error code.
std::string _system_message
System error message.
File system exceptions definition.
C++ Common project definitions.