diff options
| author | 2026-03-04 09:23:23 +0800 | |
|---|---|---|
| committer | 2026-03-04 09:23:23 +0800 | |
| commit | 4905605124ab0ea390cdd65963d5a6a1a5258c45 (patch) | |
| tree | 88e6a7f22354f8b4e1ce9e0fcc6f72499aa14d56 /objectid/errors.go | |
| parent | lint: Quick fix (diff) | |
| signature | No signature | |
objectid: File splitting
Diffstat (limited to 'objectid/errors.go')
| -rw-r--r-- | objectid/errors.go | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/objectid/errors.go b/objectid/errors.go new file mode 100644 index 00000000..8e604c44 --- /dev/null +++ b/objectid/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") +) |
