Wrap some errors with InvalidArgument
status in apemanager
service #1651
No reviewers
Labels
No labels
P0
P1
P2
P3
badger
frostfs-adm
frostfs-cli
frostfs-ir
frostfs-lens
frostfs-node
good first issue
triage
Infrastructure
blocked
bug
config
discussion
documentation
duplicate
enhancement
go
help wanted
internal
invalid
kludge
observability
perfomance
question
refactoring
wontfix
No milestone
No project
No assignees
6 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/frostfs-node#1651
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "aarifullin/frostfs-node:feat/improve_apemngr_errors"
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?
ErrAPEManagerInvalidArgument
has been introduced for ape-manager serviceInvalidArgument
statusaea6f53edf
to1884ba4ce8
@ -10,2 +10,4 @@
return err
}
func ErrAPEManagerInvalidArgument(msg string) error {
Please write down the motivation for this change. In particular, I am interested in using
status.Error(codes.InvalidArgument...)
vsapemanager_errors.ErrAPEManagerInvalidArgument
status.Error(codes.InvalidArgument...)
- probably, you're talking about the status fromgrpc
-package (used in control services).ErrAPEManagerInvalidArgument
wraps into frostfs-api statusGot it, thanks
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.