type github.com/jackc/pgx/v5/pgconn.NotPreferredError
7 uses
github.com/jackc/pgx/v5/pgconn (current package)
config.go#L1287: return &NotPreferredError{err: ErrPrimaryConnection}
errors.go#L419: type NotPreferredError struct {
errors.go#L424: func (e *NotPreferredError) Error() string {
errors.go#L428: func (e *NotPreferredError) SafeToRetry() bool {
errors.go#L432: func (e *NotPreferredError) Unwrap() error {
pgconn.go#L302: var npErr *NotPreferredError
pgconn.go#L571: if _, ok := err.(*NotPreferredError); ignoreNotPreferredErr && ok {
The pages are generated with Golds v0.8.7. (GOOS=linux GOARCH=amd64)