aboutsummaryrefslogtreecommitdiff
path: root/object/store/errors.go
diff options
context:
space:
mode:
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")