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
Errors are part of the package interface. Review to consider if errors are being exposed that shouldn't be or if there are new types or interfaces that should be.
The current error structure uses golang.org/x/xerrors to use the proposed Go 1.13 error system. PgError is the only exposed error type. There are several sentinel error values. At the moment all error checking must be performed with Is or As because of possible wrapping.
Added some internally strong types for errors and added helper functions for checking if it is safe to retry after an error and if an error was caused by a timeout.
Errors are part of the package interface. Review to consider if errors are being exposed that shouldn't be or if there are new types or interfaces that should be.
The current error structure uses golang.org/x/xerrors to use the proposed Go 1.13 error system. PgError is the only exposed error type. There are several sentinel error values. At the moment all error checking must be performed with Is or As because of possible wrapping.
golang/go#29934
golang/go#32405
The text was updated successfully, but these errors were encountered: