aboutsummaryrefslogtreecommitdiff
path: root/object/store
diff options
context:
space:
mode:
authorGravatar Runxi Yu2026-06-07 06:14:54 +0000
committerGravatar Runxi Yu2026-06-07 06:14:54 +0000
commitffb98db8fbcdae9332392aabb2bdd217795c0432 (patch)
tree98592d6cd8c48229bd8f5745976f24a2210baa4b /object/store
parent*: Refactor file granularity (diff)
signatureNo signature
More cleanups
Diffstat (limited to 'object/store')
-rw-r--r--object/store/reader.go9
1 files changed, 4 insertions, 5 deletions
diff --git a/object/store/reader.go b/object/store/reader.go
index 5fc76979..e8829b87 100644
--- a/object/store/reader.go
+++ b/object/store/reader.go
@@ -59,11 +59,10 @@ type ObjectReader interface {
Refresh() error
}
-// ErrObjectNotFound indicates that
-// an object does not exist in a backend.
-// This error must only be produced by object stores,
-// when it has no specified object ID,
-// but no other unexpected conditions were encountered.
+// ErrObjectNotFound indicates that an object does not exist in a backend.
+// It must only be produced by an object store
+// when the store does not contain the requested object ID
+// and no other unexpected conditions were encountered.
var ErrObjectNotFound = errors.New("object/store: object not found")
// This is a sentinel with no details,