Boost logo

Boost :

From: Beman Dawes (bdawes_at_[hidden])
Date: 2003-01-14 16:44:01


At 04:11 AM 1/15/2003, William E. Kempf wrote:

>...
>
>But the "who" is dependent on higher level information than what's
>available to the library.
>
> Knowing that "no such file or directory" was
>thrown by "open_file" doesn't help the end user when the action he took
>was to change a configuration option, for instance.

Most of the time, the information is available and filesystem_error works
well in practice. Knowing the function name, arguments, and error code (or
error message) is usually sufficient to solve the problem, without further
debugging.

Earlier versions did not have as much information, and there were repeated
complaints from users. Once the current scheme was adopted, the complaints
stopped.

--Beman


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk