[Issue 24564] New: std.file.DirEntry throws Exception instead of FileException
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Fri May 24 18:24:29 UTC 2024
    
    
  
https://issues.dlang.org/show_bug.cgi?id=24564
          Issue ID: 24564
           Summary: std.file.DirEntry throws Exception instead of
                    FileException
           Product: D
           Version: D2
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: major
          Priority: P1
         Component: phobos
          Assignee: nobody at puremagic.com
          Reporter: johanengelen at weka.io
`_ensureStatDone` and `_ensureLStatDone` use `enforce` 
https://github.com/dlang/phobos/blob/976dbf65566145e645f5963f76f16f7d9cb96dbf/std/file.d#L4061
(which throws an `Exception`) instead of using `cenforce` (used elsewhere in
std.file, which throws `FileException`).
--
    
    
More information about the Digitalmars-d-bugs
mailing list