2 ms·
Only one of the calls in the block is an actual irrecoverable error that you should propagate up to the parent caller. If you just append if err != nil blocks
by mariusor 3y ago
Only one of the calls in the block is an actual irrecoverable error that you should propagate up to the parent caller.
If you just append if err != nil blocks everywhere without reasoning about the context you're probably doing it wrong.