var github.com/jackc/pgx/v5.ErrTxClosed
18 uses
github.com/jackc/pgx/v5 (current package)
tx.go#L112: var ErrTxClosed = errors.New("tx is closed")
tx.go#L205: return nil, ErrTxClosed
tx.go#L220: return ErrTxClosed
tx.go#L249: return ErrTxClosed
tx.go#L266: return pgconn.CommandTag{}, ErrTxClosed
tx.go#L275: return nil, ErrTxClosed
tx.go#L285: err := ErrTxClosed
tx.go#L301: return 0, ErrTxClosed
tx.go#L310: return FailedBatchResults(b, ErrTxClosed)
tx.go#L338: return nil, ErrTxClosed
tx.go#L347: return ErrTxClosed
tx.go#L360: return ErrTxClosed
tx.go#L371: return pgconn.CommandTag{}, ErrTxClosed
tx.go#L380: return nil, ErrTxClosed
tx.go#L390: err := ErrTxClosed
tx.go#L406: return 0, ErrTxClosed
tx.go#L415: return FailedBatchResults(b, ErrTxClosed)
tx.go#L471: if rollbackErr != nil && !errors.Is(rollbackErr, ErrTxClosed) {