From 64b4414efcd1222c271277bd011d19a0f8fbef3c Mon Sep 17 00:00:00 2001 From: Jack Christensen Date: Sat, 17 Aug 2019 15:56:36 -0500 Subject: [PATCH] Remove unused exported error value --- tx.go | 1 - 1 file changed, 1 deletion(-) 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