Comment Comment by KarlKode That's kind of how you do it in go. Either:1. Bubble up error (as is/wrapped/different error. 2. Handle error & have a (possibly complex) new code path.There's also the panic/recover that sometimes is misused to emulate exceptions. parent KarlKode 1 year ago
1. Bubble up error (as is/wrapped/different error. 2. Handle error & have a (possibly complex) new code path.
There's also the panic/recover that sometimes is misused to emulate exceptions.