diff options
| author | 2026-05-16 09:55:16 +0000 | |
|---|---|---|
| committer | 2026-05-16 09:55:16 +0000 | |
| commit | c8583c25b289ab2acee538add1462c5c05d1b635 (patch) | |
| tree | cd70896d2ec76623ad5f2ac3ac511a3126bbb29a /object/store/errors.go | |
| parent | REFACTOR: update (diff) | |
| signature | No signature | |
object/store: Simplify; remove composited writer and quarantiner
Diffstat (limited to 'object/store/errors.go')
| -rw-r--r-- | object/store/errors.go | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/object/store/errors.go b/object/store/errors.go index 12bb8b28..74da4df1 100644 --- a/object/store/errors.go +++ b/object/store/errors.go @@ -2,7 +2,16 @@ package store import "errors" -// ErrObjectNotFound indicates that an object does not exist in a backend. -// This error must only be produced by object stores, when it has no -// specified object ID, but no other unexpected conditions were encountered. +// ErrObjectNotFound indicates that +// an object does not exist in a backend. +// This error must only be produced by object stores, +// when it has no specified object ID, +// but no other unexpected conditions were encountered. var ErrObjectNotFound = errors.New("objectstore: object not found") + +// This is a sentinel with no details, +// because it could be a frequent occurence, +// and allocating frequently on expected error paths +// would be extremely harmful to performance. +// Sometime, I will audit this again. +// TODO
\ No newline at end of file |
