Re:Declined Proposal: A built-in Go error check function, “try”
by steveklabnik on Wednesday July 17, 2019 @05:51PM
(#20464423)
You get a warning if you don’t check the error.
Yes, the default semantics is that it will stop when the first comparison fails and give you that error. You can write slightly different codebase if you want a list of all errors instead.
Yes, the default semantics is that it will stop when the first comparison fails and give you that error. You can write slightly different codebase if you want a list of all errors instead.