MCPcopy Create free account
hub / github.com/brimdata/super / parseError

Function parseError

api/client/auth0/auth0.go:171–177  ·  view source on GitHub ↗
(body io.Reader)

Source from the content-addressed store, hash-verified

169}
170
171func parseError(body io.Reader) error {
172 var aerr APIError
173 if err := json.NewDecoder(body).Decode(&aerr); err != nil {
174 return err
175 }
176 return &aerr
177}

Callers 1

postMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected