Files
kopia/blob/errors.go
Jarek Kowalski 8a02f23fbd more renames
2016-04-01 19:50:50 -07:00

17 lines
506 B
Go

package blob
import "errors"
var (
// ErrBlockNotFound is returned when a block cannot be found in blob.
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")
// ErrWriteLimitExceeded is returned when the maximum amount of data has already been written
// to the blob.
ErrWriteLimitExceeded = errors.New("write limit exceeded")
)