forked from TrueCloudLab/frostfs-node
70ffdf3478
Replace `ErrNotFound`/`ErrAlreadyRemoved` error from `pkg/core/object` package with `ObjectNotFound`/`ObjectAlreadyRemoved` one from `apistatus` package. These errors are returned by storage node's server as NeoFS API statuses. Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
7 lines
207 B
Go
7 lines
207 B
Go
package object
|
|
|
|
import "errors"
|
|
|
|
// ErrRangeOutOfBounds is a basic error of violation of the boundaries of the
|
|
// payload of an object.
|
|
var ErrRangeOutOfBounds = errors.New("payload range is out of bounds")
|