News for hackers. Stuff that matters.
Re:Go’ing Insane: Endless Error Handling by wavemode on Thursday September 16, 2021 @07:23AM (#28550326)
The commenter you're replying to is simply showing how logging and context and other things can be done in conjunction with the question mark syntax sugar. If you don't want to use the question mark at all, you're still free to explicitly pattern match on the Result object and do whatever complex thing you want with the error object before returning it.

There are no comments on this comment yet.