Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Status code for not found #190

Closed
KirillovDenis opened this issue Jan 27, 2022 · 1 comment · Fixed by #192
Closed

Status code for not found #190

KirillovDenis opened this issue Jan 27, 2022 · 1 comment · Fixed by #192
Assignees

Comments

@KirillovDenis
Copy link

It would be nice to have status code for not found container and object errors as well as for #189.

@alexvanin
Copy link
Contributor

Also ErrAlreadyRemoved, see nspcc-dev/neofs-node#1158

cthulhu-rider pushed a commit that referenced this issue Feb 21, 2022
`OBJECT_` prefix is needed because of possible conflicts with other
`NOT_FOUND` codes declared in the same file.

Signed-off-by: Evgenii Stratonikov <[email protected]>
cthulhu-rider pushed a commit that referenced this issue Feb 21, 2022
cthulhu-rider pushed a commit to cthulhu-rider/neofs-api that referenced this issue Feb 21, 2022
Add `OBJECT_ALREADY_REMOVED` value to `Object` enumeration. Return this
status from object GET/HEAD/RANGE operations.

Signed-off-by: Leonard Lyubich <[email protected]>
cthulhu-rider pushed a commit that referenced this issue Feb 22, 2022
Add `OBJECT_ALREADY_REMOVED` value to `Object` enumeration. Return this
status from object GET/HEAD/RANGE operations.

Signed-off-by: Leonard Lyubich <[email protected]>
@cthulhu-rider cthulhu-rider added this to the v2.12.0 milestone Feb 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants