Streams - Ability to read exception path

This commit is contained in:
Emmanuel BENOîT 2017-12-28 09:52:30 +01:00
parent 0651ea28e0
commit 165c19109f
2 changed files with 6 additions and 0 deletions

View file

@ -46,6 +46,7 @@ class X_StreamError : public std::exception
E_StreamError code( ) const noexcept;
int systemError( ) const noexcept;
T_Optional< T_FSPath > const& path( ) const noexcept;
char const* what( ) const noexcept;
};

View file

@ -35,6 +35,11 @@ inline int X_StreamError::systemError( ) const noexcept
return sysError_;
}
inline T_Optional< T_FSPath > const& X_StreamError::path( ) const noexcept
{
return path_;
}
/*= A_Stream =================================================================*/