()
| 3546 | } |
| 3547 | |
| 3548 | func (e *StatusError) Error() string { |
| 3549 | return fmt.Sprintf("API error: %d %s", e.Status, e.Body) |
| 3550 | } |
| 3551 | |
| 3552 | // HTTPStatus is the HTTP status a request error carries, or 0 when the |
| 3553 | // request got no answer at all (the server was unreachable) or the error did |
nothing calls this directly
no outgoing calls
no test coverage detected