1
0
mirror of https://github.com/jackc/pgx.git synced 2025-05-31 11:42:24 +00:00

Remove unused exported error value

This commit is contained in:
Jack Christensen 2019-08-17 15:56:36 -05:00
parent c3e41872a8
commit 64b4414efc

1
tx.go

@ -67,7 +67,6 @@ func (txOptions TxOptions) beginSQL() string {
} }
var ErrTxClosed = errors.New("tx is closed") var ErrTxClosed = errors.New("tx is closed")
var ErrTxInFailure = errors.New("tx failed")
// ErrTxCommitRollback occurs when an error has occurred in a transaction and // ErrTxCommitRollback occurs when an error has occurred in a transaction and
// Commit() is called. PostgreSQL accepts COMMIT on aborted transactions, but // Commit() is called. PostgreSQL accepts COMMIT on aborted transactions, but