aboutsummaryrefslogtreecommitdiff
path: root/object/id/errors.go
diff options
context:
space:
mode:
authorGravatar Runxi Yu2026-03-25 14:21:50 +0000
committerGravatar Runxi Yu2026-03-25 14:22:01 +0000
commite4373a7e553f8523db3e99ea316e1c25d30cc059 (patch)
treec21d0b20b1c4743619a05fdfcfa676ab2642da9e /object/id/errors.go
parent*: objecttype, objectheader -> object/type, object/header (diff)
signatureNo signature
*: objectid -> object/id
Diffstat (limited to 'object/id/errors.go')
-rw-r--r--object/id/errors.go10
1 files changed, 10 insertions, 0 deletions
diff --git a/object/id/errors.go b/object/id/errors.go
new file mode 100644
index 00000000..8e604c44
--- /dev/null
+++ b/object/id/errors.go
@@ -0,0 +1,10 @@
+package objectid
+
+import "errors"
+
+var (
+ // ErrInvalidAlgorithm indicates an unsupported object ID algorithm.
+ ErrInvalidAlgorithm = errors.New("objectid: invalid algorithm")
+ // ErrInvalidObjectID indicates malformed object ID data.
+ ErrInvalidObjectID = errors.New("objectid: invalid object id")
+)