-
Notifications
You must be signed in to change notification settings - Fork 186
Expand file tree
/
Copy patherrors.go
More file actions
15 lines (13 loc) · 781 Bytes
/
errors.go
File metadata and controls
15 lines (13 loc) · 781 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package lotusdb
import "errors"
var (
ErrKeyIsEmpty = errors.New("the key is empty")
ErrKeyNotFound = errors.New("key not found in database")
ErrDatabaseIsUsing = errors.New("the database directory is used by another process")
ErrReadOnlyBatch = errors.New("the batch is read only")
ErrBatchCommitted = errors.New("the batch is committed")
ErrDBClosed = errors.New("the database is closed")
ErrDBDirectoryISEmpty = errors.New("the database directory path can not be empty")
ErrWaitMemtableSpaceTimeOut = errors.New("wait memtable space timeout, try again later")
ErrDBIteratorUnsupportedTypeHASH = errors.New("hash index does not support iterator")
)