2 ms·
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. Ther
by KarlKode 2y ago
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.