mirror of
https://github.com/akrylysov/pogreb.git
synced 2026-06-09 20:43:57 +02:00
17e53e2423
- Adds new internal/errors package that allows wrapping errors. - Minor cleanup.
15 lines
398 B
Go
15 lines
398 B
Go
package pogreb
|
|
|
|
import (
|
|
"github.com/akrylysov/pogreb/internal/errors"
|
|
)
|
|
|
|
var (
|
|
errKeyTooLarge = errors.New("key is too large")
|
|
errValueTooLarge = errors.New("value is too large")
|
|
errFull = errors.New("database is full")
|
|
errCorrupted = errors.New("database is corrupted")
|
|
errLocked = errors.New("database is locked")
|
|
errBusy = errors.New("database is busy")
|
|
)
|