proposal: Go 2: OR operator on error return #41539
Labels
error-handling
Language & library change proposals that are about error handling.
FrozenDueToAge
LanguageChange
Suggested changes to the Go language
Proposal
v2
An incompatible library change
WaitingForInfo
Issue is not actionable because of missing required information, which needs to be provided.
Milestone
Sometimes I have a function that does two or more things and I need to return an error if something failed in the function.
To do that I have to do the following:
Wouldn't it be nice if once can do this insted:
Opinions?
The text was updated successfully, but these errors were encountered: