News for hackers. Stuff that matters.
Re:Errors in Go: From denial to acceptance by sephware on Monday November 26, 2018 @02:52PM (#18536239)
That's a good way to put it, and yeah I would agree that's how I like to use errors: give me the details I ask for and let me ignore the ones I don't care about. Sometimes an "error" isn't really an error, and at those times exceptions are overkill. Sometimes an error really is an error and I need to let the user know something went wrong, give them enough details to let them fix it and wait for them to try again.

There are no comments on this comment yet.