forked from TrueCloudLab/frostfs-node
fcdbf5e509
All logic errors are wrapped in `logicerr.Logical` type and do not affect shard error counter. Signed-off-by: Evgenii Stratonikov <evgeniy@morphbits.ru>
12 lines
380 B
Go
12 lines
380 B
Go
package object
|
|
|
|
import (
|
|
"errors"
|
|
|
|
"github.com/nspcc-dev/neofs-node/pkg/local_object_storage/util/logicerr"
|
|
)
|
|
|
|
// ErrObjectIsExpired is returned when the requested object's
|
|
// epoch is less than the current one. Such objects are considered
|
|
// as removed and should not be returned from the Storage Engine.
|
|
var ErrObjectIsExpired = logicerr.Wrap(errors.New("object is expired"))
|