mirror of https://github.com/jackc/pgx.git
Remove unused exported error value
parent
c3e41872a8
commit
64b4414efc
1
tx.go
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
|
||||||
|
|
Loading…
Reference in New Issue