[#152] authmate: Add basic error types and exit codes #204
No reviewers
Labels
No labels
P0
P1
P2
P3
good first issue
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
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/frostfs-s3-gw#204
Loading…
Reference in a new issue
No description provided.
Delete branch "ironbee/frostfs-s3-gw:add_error_types_to_authmate"
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?
Signed-off-by: Artem Tataurov a.tataurov@yadro.com
From the issue:
Closes #152.
3a12d4bbf4
tod5bba6c4d6
@ -0,0 +39,4 @@
}
func (e businessLogicError) Error() string {
return fmt.Sprintf("business logic error: %v", e.err)
suggestion: Return just
e.err
in all these cases without text wrapping. Instead define return code + meaning relation indocs/authmate.md
in a table format. In the table you can provide more info, e.g.d5bba6c4d6
tob86ca129db
b86ca129db
toc3dc945855
c3dc945855
to54e1c333a1