mirror of
https://github.com/nspcc-dev/neofs-sdk-go.git
synced 2026-03-01 04:29:18 +00:00
client: Status responses with unknown code are not apistatus.Error #244
Labels
No labels
I2
I3
I4
S1
S2
S3
S4
U0
U1
U2
U2
U2
U3
U4
blocked
bug
client
config
discussion
documentation
enhancement
epic
feature
go
good first issue
help wanted
performance
pool
question
security
task
test
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
nspcc-dev/neofs-sdk-go#244
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @cthulhu-rider on GitHub (Dec 5, 2024).
any non-zero status sent by the server must be
apistatus.Error. But currently https://pkg.go.dev/github.com/nspcc-dev/neofs-sdk-go/client/status#UnrecognizedStatusV2 is not. I find this incorrectmaybe
Steps to Reproduce
Current Behavior
FAIL
Expected Behavior
PASS
Possible Solution
make it work
Context
ClienttestingRegression
no, it is so from the
apistatus.Errorappearancefc0bd12101. Mb @smallhive will remind whyYour Environment
335d9fe90f24494944c2888ef385f06f5f81dcfc@roman-khimov commented on GitHub (Dec 5, 2024):
I don't think there is any real reason for that, just an omission.