aboutsummaryrefslogtreecommitdiff
path: root/object/id/errors.go
diff options
context:
space:
mode:
authorGravatar Runxi Yu2026-04-02 07:34:09 +0000
committerGravatar Runxi Yu2026-04-02 07:34:09 +0000
commitf805d0ba947e0aa39ca8040cf71b7e0fad3de919 (patch)
treeb683eb327f94a02a17c406631089fa1f8bc28b9a /object/id/errors.go
parentobject/id: Add algorithm (diff)
signatureNo signature
object/id: Add algorithm stuff
Diffstat (limited to 'object/id/errors.go')
-rw-r--r--object/id/errors.go12
1 files changed, 12 insertions, 0 deletions
diff --git a/object/id/errors.go b/object/id/errors.go
new file mode 100644
index 00000000..11c471ed
--- /dev/null
+++ b/object/id/errors.go
@@ -0,0 +1,12 @@
+package id
+
+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")
+ // TODO
+)