sharp
sharp copied to clipboard
Enhancement: improve input file error messaging
libvips and sharp currently only check an input file is missing (ENOENT) but could probably check for and differentiate on EACCES and perhaps other less common errors such as ELOOP etc.
https://github.com/libvips/libvips/blob/5df173dd15f5acc809690f0cfc427f4d077edbab/libvips/iofuncs/util.c#L1107-L1112
See https://github.com/lovell/sharp/issues/1919#issuecomment-549173298
(ACL stuff on Windows can be tricky so needs testing.)