Files
kopia/storage/errors.go
Jarek Kowalski d3a68a7055 initial
2016-03-21 20:08:35 -07:00

17 lines
524 B
Go

package storage
import "errors"
var (
// ErrBlockNotFound is returned when a block cannot be found in repository.
ErrBlockNotFound = errors.New("block not found")
// ErrInvalidChecksum is returned when a repository 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 repository.
ErrWriteLimitExceeded = errors.New("write limit exceeded")
)