()
| 24 | } |
| 25 | |
| 26 | func (e ErrUnauthorizedForCredentials) Error() string { |
| 27 | return fmt.Sprintf("unable to retrieve auth token: invalid username/password: %s", e.Err.Error()) |
| 28 | } |
| 29 | |
| 30 | // httpResponseToError translates the https.Response into an error, possibly prefixing it with the supplied context. It returns |
| 31 | // nil if the response is not considered an error. |
no outgoing calls