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


_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Reply via email to