aboutsummaryrefslogtreecommitdiff
path: root/errors.go
diff options
context:
space:
mode:
authorBen Johnson <benbjohnson@yahoo.com>2016-04-24 14:09:45 -0600
committerBen Johnson <benbjohnson@yahoo.com>2016-04-24 14:09:45 -0600
commita5aec31dc3d13cbd7c0e6faca7489835b0b7e27a (patch)
treed4775957ac2ec92ba8d37b39c386ea340a4e6473 /errors.go
parentMerge branch '548-fix-errors-with-unsynced-metadata' of https://github.com/cy... (diff)
downloaddedo-a5aec31dc3d13cbd7c0e6faca7489835b0b7e27a.tar.gz
dedo-a5aec31dc3d13cbd7c0e6faca7489835b0b7e27a.tar.xz
add additional meta page tests
Diffstat (limited to 'errors.go')
-rw-r--r--errors.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/errors.go b/errors.go
index 6883786..a3620a3 100644
--- a/errors.go
+++ b/errors.go
@@ -12,7 +12,8 @@ var (
// already open.
ErrDatabaseOpen = errors.New("database already open")
- // ErrInvalid is returned when a data file is not a Bolt-formatted database.
+ // ErrInvalid is returned when both meta pages on a database are invalid.
+ // This typically occurs when a file is not a bolt database.
ErrInvalid = errors.New("invalid database")
// ErrVersionMismatch is returned when the data file was created with a