forked from TrueCloudLab/frostfs-node
923f84722a
Signed-off-by: Pavel Karpy <p.karpy@yadro.com>
12 lines
401 B
Go
12 lines
401 B
Go
package common
|
|
|
|
import (
|
|
"github.com/TrueCloudLab/frostfs-node/pkg/local_object_storage/util/logicerr"
|
|
)
|
|
|
|
// ErrReadOnly MUST be returned for modifying operations when the storage was opened
|
|
// in readonly mode.
|
|
var ErrReadOnly = logicerr.New("opened as read-only")
|
|
|
|
// ErrNoSpace MUST be returned when there is no space to put an object on the device.
|
|
var ErrNoSpace = logicerr.New("no free space")
|