diff options
Diffstat (limited to 'object/store/errors.go')
| -rw-r--r-- | object/store/errors.go | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/object/store/errors.go b/object/store/errors.go index 3ee438f7..0e36b400 100644 --- a/object/store/errors.go +++ b/object/store/errors.go @@ -3,10 +3,6 @@ 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). +// This error must only be produced by object stores, when it has no +// specified object ID, but no other unexpected conditions were encountered. var ErrObjectNotFound = errors.New("objectstore: object not found") |
