Boost logo

Boost Users :

From: Ed Johnson (ed_at_[hidden])
Date: 2006-05-25 14:51:14


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


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net