| 301 | } |
| 302 | |
| 303 | type ErrorBody struct { |
| 304 | ErrorCode string `json:"errorCode"` |
| 305 | Message string `json:"message"` |
| 306 | } |
| 307 | |
| 308 | var body ErrorBody |
| 309 | if err := json.NewDecoder(r.Body).Decode(&body); err != nil { |
nothing calls this directly
no outgoing calls
no test coverage detected