mirror of
https://github.com/kopia/kopia.git
synced 2026-02-07 05:05:26 -05:00
17 lines
506 B
Go
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")
|
|
)
|