zeroshade commented on issue #3126: URL: https://github.com/apache/arrow-adbc/issues/3126#issuecomment-3055200474
Because `errors.Join` is relatively new (introduced with go1.20 I think?) before then you had to implement Unwrap and use `errors.Unwrap` which was introduced in go1.13. See the example [here](https://pkg.go.dev/errors#example-Join). Using `errors.Join` is sufficient for `errors.As` and `errors.Is` to detect and produce `adbc.Error` correctly -- 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-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org