DIP33: A standard exception hierarchy
Jacob Carlborg
doob at me.com
Tue Apr 2 09:36:36 PDT 2013
On 2013-04-02 17:56, Lars T. Kyllingstad wrote:
> In my experience, most of the time, you don't even bother distinguishing
> between the finer categories. If you can't open a file, well, that's
> that. Tell the user why and ask them to try another file. (I realise
> that this is highly arguable, of course.)
I would say that there's a big difference if a file exist or if you
don't have permission to access it. Think of the command line, you can
easily misspell a filename, or forget to use "sudo".
--
/Jacob Carlborg
More information about the Digitalmars-d
mailing list