Login
Roast topics
Find topics
Find it!
From:
Dave Cheney
(Uncensored)
subscribe
Inspecting errors
https://dave.cheney.net/2014/12/24/inspecting-errors
links
backlinks
Roast topics
Find topics
Roast it!
The common contract for functions which return a value of the interface type error, is the caller should not presume anything about the state of the other values returned from that call without first checking the error.