boost::filesystem::filesystem_error returns wrong error code on bad path?
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
6747
Age (days ago)
6747
Last active (days ago)
0 comments
1 participants
participants (1)
-
Ed Johnson