News for hackers. Stuff that matters.
Re:Errors – Gotta Catch 'Em All by otabdeveloper1 on Friday April 05, 2019 @07:47AM (#19581585)
> You can't possibly know instantly all the exceptions to handle for a function

And you never should. That indeed is horrible design.

What you do need is a separation between 'exceptions that cause hard failure' v.s. 'exceptions that can lead to soft restarts'.

You can easily separate them using common sense just looking at where your interface is located.

There are no comments on this comment yet.