Skip to content

Commit

Permalink
Merge pull request #556 from Jeremy-Run/master
Browse files Browse the repository at this point in the history
delete unnecessary error info
  • Loading branch information
ahrtr authored Aug 23, 2023
2 parents 5d7f834 + 41c2385 commit 86daf54
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
6 changes: 0 additions & 6 deletions errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,6 @@ var (
// Deprecated: Use the error variables defined in the bbolt/errors package.
ErrDatabaseNotOpen = errors.ErrDatabaseNotOpen

// ErrDatabaseOpen is returned when opening a database that is
// already open.
//
// Deprecated: Use the error variables defined in the bbolt/errors package.
ErrDatabaseOpen = errors.ErrDatabaseOpen

// ErrInvalid is returned when both meta pages on a database are invalid.
// This typically occurs when a file is not a bolt database.
//
Expand Down
4 changes: 0 additions & 4 deletions errors/errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,6 @@ var (
// is opened or after it is closed.
ErrDatabaseNotOpen = errors.New("database not open")

// ErrDatabaseOpen is returned when opening a database that is
// already open.
ErrDatabaseOpen = errors.New("database already open")

// 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")
Expand Down

0 comments on commit 86daf54

Please sign in to comment.