diff options
| author | Ben Johnson <benbjohnson@yahoo.com> | 2014-03-23 12:24:32 -0600 |
|---|---|---|
| committer | Ben Johnson <benbjohnson@yahoo.com> | 2014-03-23 12:24:32 -0600 |
| commit | 42bc0f210ad58b4cb9b67232f080c2ebb48b6a6d (patch) | |
| tree | 7ecbac715fd4556b77cb46ff6a1096a39111fab5 /error.go | |
| parent | Merge pull request #78 from benbjohnson/tx-managed (diff) | |
| parent | Add ErrTxClosed error. (diff) | |
| download | dedo-42bc0f210ad58b4cb9b67232f080c2ebb48b6a6d.tar.gz dedo-42bc0f210ad58b4cb9b67232f080c2ebb48b6a6d.tar.xz | |
Merge pull request #81 from benbjohnson/tx-closed
Add ErrTxClosed error.
Diffstat (limited to 'error.go')
| -rw-r--r-- | error.go | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -20,6 +20,10 @@ var ( // read-only transaction. ErrTxNotWritable = &Error{"tx not writable", nil} + // ErrTxClosed is returned when committing or rolling back a transaction + // that has already been committed or rolled back. + ErrTxClosed = &Error{"tx closed", nil} + // ErrBucketNotFound is returned when trying to access a bucket that has // not been created yet. ErrBucketNotFound = &Error{"bucket not found", nil} |
