top | item 42453011

(no title)

KarlKode | 1 year 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.

discuss

order

No comments yet.