You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "lidavidm (via GitHub)" <gi...@apache.org> on 2025/07/10 01:42:14 UTC
Re: [I] go: add Unwrap to adbc.Error [arrow-adbc]
lidavidm commented on issue #3126:
URL: https://github.com/apache/arrow-adbc/issues/3126#issuecomment-3054910819
@zeroshade not sure if you have any thoughts. I find myself writing this a lot:
```
defer func() {
err = errors.Join(err, something.Close())
}()
```
I think it would be nice to provide an `adbcerr.Join` that would preserve the ADBC-ness of the error. We can sorta do it today but there's no way to chain errors in a go-native way.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org