()
| 72 | } |
| 73 | |
| 74 | func ErrorAuthAPIError() error { |
| 75 | return errors.WithStack(&errors.Error{ |
| 76 | Kind: ErrAuthAPIError, |
| 77 | Message: "the operator is unable to verify user's credentials using AWS STS; run `aws sts get-caller-identity` to view the credentials being used by the cortex client", |
| 78 | }) |
| 79 | } |
| 80 | |
| 81 | func ErrorAuthInvalid() error { |
| 82 | return errors.WithStack(&errors.Error{ |
no test coverage detected