aboutsummaryrefslogtreecommitdiff
path: root/refstore/errors.go
diff options
context:
space:
mode:
authorGravatar Runxi Yu2026-03-07 16:25:36 +0800
committerGravatar Runxi Yu2026-03-07 16:43:59 +0800
commita0d2b3a238d6e5dcdedb816cf838dd8fe003c632 (patch)
tree98b4026797c7e731f3ce01bd11dd102e58b116d0 /refstore/errors.go
parenttestgit: While I'm at it, add a tiny path escape hatch just for occasional use (diff)
signatureNo signature
refstore: Split files
Diffstat (limited to 'refstore/errors.go')
-rw-r--r--refstore/errors.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/refstore/errors.go b/refstore/errors.go
new file mode 100644
index 00000000..45583440
--- /dev/null
+++ b/refstore/errors.go
@@ -0,0 +1,7 @@
+package refstore
+
+import "errors"
+
+// ErrReferenceNotFound indicates that a reference does not exist in a backend.
+// TODO: Interface error? Just like object not found in objectstore.
+var ErrReferenceNotFound = errors.New("refstore: reference not found")