25 May
2006
25 May
'06
6:51 p.m.
Hi, When I create a bad path on purpose, the error code that boost returns is: 2 other_error, // library generated error However, the exception.hpp what() returns the string: boost::filesystem::path: invalid name "testwrite1::.txt" in path: "../data/TestFileIO/testwrite1::.txt" It seems like the string from what() correctly identifies the error at a bad path name, but it is not correctly translated in the error code enumeration. I thought it should be: 6 path_error Using boost 1.33.1 http://www.boost.org/libs/filesystem/doc/exception.htm Any thoughts? Thanks, Ed Johnson