forked from TrueCloudLab/frostfs-node
[#948] core/object: Move listing objects error to core
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
parent
c02c7bee5b
commit
8d471c7e36
4 changed files with 14 additions and 14 deletions
|
@ -12,3 +12,8 @@ var ErrRangeOutOfBounds = errors.New("payload range is out of bounds")
|
|||
|
||||
// ErrAlreadyRemoved returned when object has tombstone in graveyard.
|
||||
var ErrAlreadyRemoved = errors.New("object already removed")
|
||||
|
||||
// ErrEndOfListing is returned from object listing with cursor
|
||||
// when storage can't return any more objects after provided
|
||||
// cursor. Use nil cursor object to start listing again.
|
||||
var ErrEndOfListing = errors.New("end of object listing")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue