| 136 | } |
| 137 | |
| 138 | type httpError struct { |
| 139 | Code int `json:"code"` |
| 140 | Reason string `json:"reason,omitempty"` |
| 141 | } |
| 142 | |
| 143 | func (h httpError) Error() string { |
| 144 | return fmt.Sprintf("Status Code: %d\nReason: %s", h.Code, h.Reason) |
nothing calls this directly
no outgoing calls
no test coverage detected