2022-08-23 13:04:01 +00:00
|
|
|
package common
|
|
|
|
|
2022-10-26 12:23:12 +00:00
|
|
|
import (
|
|
|
|
"github.com/nspcc-dev/neofs-node/pkg/local_object_storage/util/logicerr"
|
|
|
|
)
|
2022-08-23 13:04:01 +00:00
|
|
|
|
|
|
|
// ErrReadOnly MUST be returned for modifying operations when the storage was opened
|
|
|
|
// in readonly mode.
|
2022-10-31 07:02:30 +00:00
|
|
|
var ErrReadOnly = logicerr.New("opened as read-only")
|
2022-09-28 08:10:27 +00:00
|
|
|
|
|
|
|
// ErrNoSpace MUST be returned when there is no space to put an object on the device.
|
2022-10-31 07:02:30 +00:00
|
|
|
var ErrNoSpace = logicerr.New("no free space")
|