aeson icon indicating copy to clipboard operation
aeson copied to clipboard

Warn about possible exceptions during file decoding

Open deemp opened this issue 2 years ago • 0 comments

In my project, I spent a couple of hours trying to determine the reason for an exception withBinaryFile: does not exist (No such file or directory). After reading the current aeson docs, I expected that the case when the file is missing is also reported as a String error.

I see that currently, this is not true. I'm not sure these functions should handle missing files so I suggest to just warn about possible exceptions.

deemp avatar May 20 '23 07:05 deemp