From f805d0ba947e0aa39ca8040cf71b7e0fad3de919 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Thu, 2 Apr 2026 07:34:09 +0000 Subject: object/id: Add algorithm stuff --- object/id/errors.go | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 object/id/errors.go (limited to 'object/id/errors.go') 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 +) -- cgit v1.3.1-10-gc9f91