------------------------------------------------------------------------------
| 49 | //------------------------------------------------------------------------------ |
| 50 | |
| 51 | type httpError struct { |
| 52 | Status int `json:"status"` |
| 53 | Code string `json:"code"` |
| 54 | Message string `json:"message"` |
| 55 | } |
| 56 | |
| 57 | func (e *httpError) HTTPStatusCode() int { |
| 58 | return e.Status |
nothing calls this directly
no outgoing calls
no test coverage detected