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