Files
kopia/storage/errors.go

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")
)