www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 13543] New: std.file.FileException has useless __FILE__ and

https://issues.dlang.org/show_bug.cgi?id=13543

          Issue ID: 13543
           Summary: std.file.FileException has useless __FILE__ and
                    __LINE__ arguments tacked on
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: Phobos
          Assignee: nobody puremagic.com
          Reporter: bugzilla digitalmars.com

I take exception (!) to this notion. As a computer user (not
a programmer) what would one think about error messages from an
application that printed file and line of something internal to the
app's source code? WTF, right? FileException is being
confused here with being a programmer debugging tool. It is NOT.
Exceptions are not for debugging programming errors. They're for
reporting on input errors. They're being confused with asserts here.

--
Sep 27 2014