type github.com/jackc/pgx/v5/pgconn.NotPreferredError
7 uses
github.com/jackc/pgx/v5/pgconn (current package)
config.go#L1014: return &NotPreferredError{err: errors.New("server is not in hot standby mode")}
errors.go#L241: type NotPreferredError struct {
errors.go#L246: func (e *NotPreferredError) Error() string {
errors.go#L250: func (e *NotPreferredError) SafeToRetry() bool {
errors.go#L254: func (e *NotPreferredError) Unwrap() error {
pgconn.go#L288: var npErr *NotPreferredError
pgconn.go#L467: if _, ok := err.(*NotPreferredError); ignoreNotPreferredErr && ok {
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)