diff options
Diffstat (limited to 'tx.go')
-rw-r--r-- | tx.go | 11 |
1 files changed, 0 insertions, 11 deletions
@@ -1,7 +1,6 @@ package bolt import ( - "errors" "fmt" "io" "os" @@ -10,16 +9,6 @@ import ( "unsafe" ) -var ( - // ErrTxNotWritable is returned when performing a write operation on a - // read-only transaction. - ErrTxNotWritable = errors.New("tx not writable") - - // ErrTxClosed is returned when committing or rolling back a transaction - // that has already been committed or rolled back. - ErrTxClosed = errors.New("tx closed") -) - // txid represents the internal transaction identifier. type txid uint64 |