aboutsummaryrefslogtreecommitdiff
path: root/object/store/errors.go
diff options
context:
space:
mode:
authorGravatar Runxi Yu2026-04-02 08:16:04 +0000
committerGravatar Runxi Yu2026-04-02 08:16:04 +0000
commit510a6a3d09d6fc010fecc0d87e6d838fecc3a6df (patch)
treede753fab31de495f682e46f4f10d71518a63c6cf /object/store/errors.go
parentfurgit: Fix doc whitespace (diff)
signatureNo signature
object/store: Add interfaces
Diffstat (limited to 'object/store/errors.go')
-rw-r--r--object/store/errors.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/object/store/errors.go b/object/store/errors.go
new file mode 100644
index 00000000..12bb8b28
--- /dev/null
+++ b/object/store/errors.go
@@ -0,0 +1,8 @@
+package store
+
+import "errors"
+
+// 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.
+var ErrObjectNotFound = errors.New("objectstore: object not found")