You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When working with errors returned by pq, lots of those are being generated via fmt.Errorf. This makes it hard to distinguish between different types of errors later in your own code, falling back to doing string prefix checks. So I would like to ask you to provide a separate error type which can be checked downstream.
Thanks a lot for providing this library!
The text was updated successfully, but these errors were encountered:
When working with errors returned by
pq
, lots of those are being generated viafmt.Errorf
. This makes it hard to distinguish between different types of errors later in your own code, falling back to doing string prefix checks. So I would like to ask you to provide a separate error type which can be checked downstream.Thanks a lot for providing this library!
The text was updated successfully, but these errors were encountered: