Files
kopia/storage/errors.go
2017-10-14 16:38:09 -07:00

13 lines
339 B
Go

package storage
import "errors"
var (
// ErrBlockNotFound is returned when a block cannot be found in storage.
ErrBlockNotFound = errors.New("block not found")
// ErrInvalidChecksum is returned when a storage block is invalid, which may indicate
// that decryption has failed.
ErrInvalidChecksum = errors.New("invalid checksum")
)