Source File
errors.go
Belonging Package
go.pact.im/x/pgxprocess
package pgxprocessimport ()// ErrNotConnected is an error that is returned if database handle is not// connected.var ErrNotConnected = errors.New("pgxprocess: not connected")type errRow struct{}func (errRow) ( ...any) error {return ErrNotConnected}type errRows struct{}func (errRows) () {}func (errRows) () error {return ErrNotConnected}func (errRows) () pgconn.CommandTag {return pgconn.CommandTag{}}func (errRows) () []pgconn.FieldDescription {return nil}func (errRows) () bool {return false}func (errRows) ( ...any) error {return ErrNotConnected}func (errRows) () ([]any, error) {return nil, ErrNotConnected}func (errRows) () [][]byte {return nil}func (errRows) () *pgx.Conn {return nil}type errBatchResults struct{}func (errBatchResults) () (pgconn.CommandTag, error) {return pgconn.CommandTag{}, ErrNotConnected}func (errBatchResults) () (pgx.Rows, error) {return errRows{}, ErrNotConnected}func (errBatchResults) () pgx.Row {return errRow{}}func (errBatchResults) () error {return ErrNotConnected}
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)