9 #ifndef CPPCOMMON_FILESYSTEM_EXCEPTIONS_H
10 #define CPPCOMMON_FILESYSTEM_EXCEPTIONS_H
27 std::string
string()
const override;
41 {
_src = src;
_dst = dst;
return *
this; }
const Path & path() const noexcept
Get exception path.
FileSystemException & Attach(const Path &src, const Path &dst)
Attach the given source and destination paths to the exception.
std::string string() const override
Get string from the current exception.
Path _src
Filesystem exception source path.
FileSystemException & Attach(const Path &path)
Attach the given path to the exception.
Path _dst
Filesystem exception destination path.
Path _path
Filesystem exception path.
SystemException()
Create system exception based on the last system error code.
C++ Common project definitions.
Filesystem path definition.