Thread overview
[Issue 11816] std.stdio.slurp uninformative error message
Feb 13, 2019
Basile-z
Mar 21, 2020
Basile-z
Dec 17, 2022
Iain Buclaw
February 13, 2019
https://issues.dlang.org/show_bug.cgi?id=11816

Basile-z <b2.temp@gmx.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |b2.temp@gmx.com
          Component|dmd                         |phobos
           Severity|normal                      |enhancement

--- Comment #2 from Basile-z <b2.temp@gmx.com> ---
For the record the idea was to catch std.conv.parse error in order to throw something more specifc to slurp:

> Ine reason is that I want to provide helpful and verbose error messages for invalid input (e.g. "Invalid numeric value found in field 3 line 1000") - and with the "slurp" method, any input error will result in a not-so-helpful exception (e.g. "std.conv.ConvException@/usr/include/dmd/phobos/std/conv.d(2009): Unexpected 'H' when converting from type char[] to type ulong).

--
March 21, 2020
https://issues.dlang.org/show_bug.cgi?id=11816

Basile-z <b2.temp@gmx.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|b2.temp@gmx.com             |

--
December 17, 2022
https://issues.dlang.org/show_bug.cgi?id=11816

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P2                          |P4

--