github.com/jackc/pgx/v4.Conn.die (method)

3 uses

	github.com/jackc/pgx/v4 (current package)
		conn.go#L331: func (c *Conn) die(err error) {
		tx.go#L81: 		c.die(errors.New("failed to begin transaction"))
		tx.go#L249: 		tx.conn.die(fmt.Errorf("rollback failed: %w", err))