2022-08-23 13:04:01 +00:00
|
|
|
package common
|
|
|
|
|
|
|
|
import "errors"
|
|
|
|
|
|
|
|
// ErrReadOnly MUST be returned for modifying operations when the storage was opened
|
|
|
|
// in readonly mode.
|
|
|
|
var ErrReadOnly = errors.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.
|
|
|
|
var ErrNoSpace = errors.New("no free space")
|