News for hackers. Stuff that matters.
Re:Where Everything Went Wrong: Error Handling and Error Mes... by randyrand on Friday February 19, 2021 @12:52PM (#26195757)
A better word might have been “failure”.

Something is a failure when it fails to do what it says it does.

openfile();

If openfile() does not open a file, then it failed.

This terminology makes it clear we are not just bubbling up errors. It’s the function itself which failed.

There are no comments on this comment yet.