2022-07-27 18:38:28 +00:00
|
|
|
package object
|
|
|
|
|
2022-10-26 12:23:12 +00:00
|
|
|
import (
|
|
|
|
"errors"
|
|
|
|
|
|
|
|
"github.com/nspcc-dev/neofs-node/pkg/local_object_storage/util/logicerr"
|
|
|
|
)
|
2022-07-27 18:38:28 +00:00
|
|
|
|
|
|
|
// 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.
|
2022-10-26 12:23:12 +00:00
|
|
|
var ErrObjectIsExpired = logicerr.Wrap(errors.New("object is expired"))
|