12 lines
199 B
Go
12 lines
199 B
Go
|
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))
|
||
|
}
|