frostfs-node/pkg/local_object_storage/blobstor/errors.go

12 lines
199 B
Go
Raw Normal View History

package blobstor
import (
"errors"
apistatus "github.com/nspcc-dev/neofs-sdk-go/client/status"
)
func isErrOutOfRange(err error) bool {
return errors.As(err, new(apistatus.ObjectOutOfRange))
}