aboutsummaryrefslogtreecommitdiff
path: root/object/store/errors.go
blob: 3ee438f723267c914f47f811205d8e1b65ceb7f6 (about) (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
package objectstore

import "errors"

// ErrObjectNotFound indicates that an object does not exist in a backend.
// This error MUST only be used in situations where the object store has
// no specified object ID, but no other unexpected conditions were
// encountered. In particular, it is not suitable for situations where one
// object references another (such as a tree referencing a blob) but
// the latter does not exist; these situations should use a separate
// error (TODO).
var ErrObjectNotFound = errors.New("objectstore: object not found")