mirror of
https://github.com/minio/minio.git
synced 2025-11-09 13:39:46 -05:00
add stringer for ErrorCodes (#11933)
This commit is contained in:
@@ -80,6 +80,8 @@ type STSErrorResponse struct {
|
||||
// STSErrorCode type of error status.
|
||||
type STSErrorCode int
|
||||
|
||||
//go:generate stringer -type=STSErrorCode -trimprefix=Err $GOFILE
|
||||
|
||||
// Error codes, non exhaustive list - http://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRoleWithSAML.html
|
||||
const (
|
||||
ErrSTSNone STSErrorCode = iota
|
||||
|
||||
Reference in New Issue
Block a user