4 ms·
> It seems strange to suggest there is recovery from that (beyond choosing another file). That's the thing though, right? If you're writing a program with a UI
by Nursie 6y ago
> It seems strange to suggest there is recovery from that (beyond choosing another file).
That's the thing though, right? If you're writing a program with a UI you want to pop up a box saying "File not found, choose another".
A server program might format an appropriate response, log it and send it back to the client.
A batch process may just want to bail with a code.
So it would seem to make sense to have it checked...