|
|
|
|
|
by ladberg
1684 days ago
|
|
I don't see how those are mutually exclusive. You could do something like: x, err := f(); if err != nil return fmt.Errorf("More context -> %s", err)
(I'm not attached to that specific syntax, it's just an example of a hypothetical one-liner) |
|