Files
kopia/blob/errors.go
2016-09-08 21:11:50 -07:00

13 lines
336 B
Go

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