-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patherrors.go
More file actions
17 lines (15 loc) · 849 Bytes
/
errors.go
File metadata and controls
17 lines (15 loc) · 849 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package mutcask
import "golang.org/x/xerrors"
var (
ErrNone = xerrors.New("mutcask: error none")
ErrValueFormat = xerrors.New("mutcask: invalid value format")
ErrDataRotted = xerrors.New("mutcask: data may be rotted")
ErrKeySizeTooLong = xerrors.New("mutcask: key size is too long")
ErrHintFormat = xerrors.New("mutcask: invalid hint format")
ErrPathUndefined = xerrors.New("mutcask: should define path within config")
ErrPath = xerrors.New("mutcask: path should be directory not file")
ErrHintLogBroken = xerrors.New("mutcask: hint log broken")
ErrReadHintBeyondRange = xerrors.New("mutcask: read hint out of file range")
ErrRepoLocked = xerrors.New("mutcask: repo has been locked")
ErrNoSupport = xerrors.New("mutcask: method not support")
)