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).
Comment #3 by robert.schadek — 2024-12-01T16:19:44Z